[PATCH] NEWS: Document new '--validate' option for virsh define commands

Kristina Hanicova khanicov at redhat.com
Thu Aug 26 16:03:40 UTC 2021


Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
---
 NEWS.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index 21df0e1602..b9edb7dc68 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -19,6 +19,20 @@ v7.7.0 (unreleased)
 
 * **Improvements**
 
+  * virsh: Allow XML validation for define of: storage pool, network, secret,
+    nwfilter, interface
+
+    * Add flag ``VIR_STORAGE_POOL_DEFINE_VALIDATE`` to validate storage pool
+      input xml. For virsh, users can use it as ``virsh pool-define --validate``.
+    * Add flag ``VIR_NETWORK_DEFINE_VALIDATE`` to validate network input xml. For
+      virsh, users can use it as ``net-define --validate``.
+    * Add flag ``VIR_SECRET_DEFINE_VALIDATE`` to validate secret input xml. For
+      virsh, users can use it as ``secret-define --validate``.
+    * Add flag ``VIR_NWFILTER_DEFINE_VALIDATE`` to validate nwfilter input xml.
+      For virsh, users can use it as ``nwfilter-define --validate``.
+    * Add flag ``VIR_INTERFACE_DEFINE_VALIDATE`` to validate interface input xml.
+      For virsh, users can use it as ``iface-define --validate``.
+
 * **Bug fixes**
 
 
-- 
2.31.1




More information about the libvir-list mailing list