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>
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
NEWS.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 848f4bd89c..bcd67a893d 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -17,6 +17,12 @@ v7.9.0 (unreleased)
* **New features**
+ * 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