[libvirt PATCH v2] news: mention new nodedev API

Jonathon Jongsma posted 1 patch 2 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210915132113.168487-1-jjongsma@redhat.com
NEWS.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
[libvirt PATCH v2] news: mention new nodedev API
Posted by Jonathon Jongsma 2 years, 7 months ago
Add news item about the new API for node devices.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
---
 NEWS.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index 4521499db7..fd20e50d18 100644
--- 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**
-- 
2.31.1