]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
news: mention new nodedev API
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 14 Sep 2021 20:17:05 +0000 (15:17 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 15 Sep 2021 15:08:16 +0000 (10:08 -0500)
Add news item about the new API for node devices.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat>
NEWS.rst

index 4521499db7ba4147ce7533145500a6c734a4c538..fd20e50d18bd770ddd9a0cd0719513f58b723749 100644 (file)
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -17,6 +17,18 @@ v7.8.0 (unreleased)
 
 * **New features**
 
+  * nodedev: Add ability to automatically start mediated devices
+
+    The autostart status of a persistent mediated devices can be managed with
+    the new APIs ``virNodeDeviceSetAutostart()`` and
+    ``virNodeDeviceGetAutostart()``. The corresponding virsh command is
+    ``nodedev-autostart``. In addition, two new APIs were added to get
+    additional information about node devices: ``virNodeDeviceIsPersistent()``
+    checks whether the device is persistently defined, and
+    ``virNodeDeviceIsActive()`` checks whether the node device is currently
+    active. This information can also be retrieved with the new virsh command
+    ``nodedev-info``.
+
 * **Improvements**
 
 * **Bug fixes**