]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuValidateDomainDefPCIFeature: Fix validation logic
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Oct 2021 12:15:14 +0000 (14:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 07:41:22 +0000 (09:41 +0200)
commitbdc3e8f47be108fa552b72a6d913528869e61097
tree6fedce6fbba1adb3d567ab88090698133f433a4d
parent7d074c56830c5d435f87667299cc102650dbbb4f
qemuValidateDomainDefPCIFeature: Fix validation logic

The error that "acpi-bridge-hotplug" is not supported would be triggered
only if both the ICH9 and PIIX don't support the capability and the
machine is q35. This makes no sense.

We want to check that the appropriate platform supports the appropriate
feature.

Fixes: 7300ccc9b3e
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_validate.c