mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
133d7983d6
This change adds qemu backend command line support for enabling or disabling hotplug on the pci-root controller using the 'target' sub-element of the pci-root controller as shown below: <controller type='pci' model='pci-root'> <target hotplug='off'/> </controller> '<target hotplug='off/on'/>' is only valid for pc (i440fx-based x86) machinetypes and turns on the following command line option that is passed to qemu for x86 guests: -global PIIX4_PM.acpi-root-pci-hotplug=<off/on> Before introduction of this attribute, hotplug was always enabled for pci-root of an i440fx-based machinetype, and since its introduction the default setting has always been "on" for those machinetypes. This change also adds the required qemuxml2argv unit tests in order to test correct qemu arguments. Unit tests have also been added to test qemu capability validation checks. Signed-off-by: Ani Sinha <ani@anisinha.ca> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
2 lines
116 B
Plaintext
2 lines
116 B
Plaintext
unsupported configuration: setting the hotplug property on a 'pci-root' device is not supported by this QEMU binary
|