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:
Laine Stump 2021-10-20 14:54:54 -04:00
parent 4aa75c3e4b
commit 4f4fffc073

View File

@ -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;