mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
Revert "qemuValidateDomainDefPCIFeature: un-break error messages"
This reverts commit 7d074c5683
.
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
This commit is contained in:
parent
4aa75c3e4b
commit
4f4fffc073
@ -194,7 +194,8 @@ qemuValidateDomainDefPCIFeature(const virDomainDef *def,
|
||||
case VIR_DOMAIN_PCI_ACPI_BRIDGE_HOTPLUG:
|
||||
if (!ARCH_IS_X86(def->os.arch)) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("acpi-bridge-hotplug is not available for architecture '%s'"),
|
||||
_("acpi-bridge-hotplug is not available "
|
||||
"for architecture '%s'"),
|
||||
virArchToString(def->os.arch));
|
||||
return -1;
|
||||
}
|
||||
@ -202,7 +203,8 @@ qemuValidateDomainDefPCIFeature(const virDomainDef *def,
|
||||
!virQEMUCapsGet(qemuCaps,
|
||||
QEMU_CAPS_PIIX4_ACPI_HOTPLUG_BRIDGE)) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("acpi-bridge-hotplug is not available with this QEMU binary"));
|
||||
_("acpi-bridge-hotplug is not available "
|
||||
"with this QEMU binary"));
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user