A new 'target' subelement of the pci-root controller has been introduced having
a 'hotplug' property. This proprty can be used to turn off or turn on hotplug
capability of the devices plugged into the pci-root ports. This change release
notes this feature for the next release.
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(a)anisinha.ca>
---
NEWS.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index fd20e50d18..b244cbb2be 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -29,6 +29,12 @@ v7.8.0 (unreleased)
active. This information can also be retrieved with the new virsh command
``nodedev-info``.
+ * qemu: support disabling hotplug of devices on the pci-root controller
+
+ libvirt can now set the "hotplug" option for pci-root controller which can
+ be used to disable hotplug/unplug of devices from the pci root port. The
+ default behavior is to keep hotplug on pci-root ports enabled.
+
* **Improvements**
* **Bug fixes**
--
2.25.1