A new 'target' subelement of the pci-root controller has been
introduced having a 'hotplug' property. This property can be used to
turn off or turn on the ability to hotplug/unplug devices to the slots
of the pci-root.
The new element can be used like this:
<controller type='pci' model='pci-root'>
<target hotplug='off'/>
</controller>
This will turn off hotplug capability on the pci-root ports. To turn
the capability on, we set hotplug='on' above (which is also the
default).
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
``virDomainUpdateDeviceFlags()`` API to adjust amount of memory or ``virsh
update-memory-device`` for convenience.
+ * qemu: support disabling hotplug of devices on the pci-root controller
+
+ the <target hotplug='on|off'/> option is now supported for the
+ pci-root controller on i440fx-based (x86 "pc") machinetypes. This
+ can be used to disable hotplug/unplug of devices from this
+ controller. The default behavior is unchanged (hotplug is
+ allowed).
+
* **Improvements**
* **Bug fixes**