[PATCH v2 21/34] docs: Fix and append Since to virConnectListAllStoragePoolsFlags

Victor Toso victortoso at redhat.com
Thu Apr 14 20:47:32 UTC 2022


This commit is similar to "docs: Fix generated documentation of
virConnectListAllNodeDeviceFlags", check it out for more info.

Signed-off-by: Victor Toso <victortoso at redhat.com>
---
 include/libvirt/libvirt-storage.h | 47 +++++++++++++++----------------
 1 file changed, 23 insertions(+), 24 deletions(-)

diff --git a/include/libvirt/libvirt-storage.h b/include/libvirt/libvirt-storage.h
index 9d220c6f3c..4d7fb116a0 100644
--- a/include/libvirt/libvirt-storage.h
+++ b/include/libvirt/libvirt-storage.h
@@ -321,30 +321,29 @@ int                     virConnectListDefinedStoragePools(virConnectPtr conn,
  *
  */
 typedef enum {
-    VIR_CONNECT_LIST_STORAGE_POOLS_INACTIVE      = 1 << 0,
-    VIR_CONNECT_LIST_STORAGE_POOLS_ACTIVE        = 1 << 1,
-
-    VIR_CONNECT_LIST_STORAGE_POOLS_PERSISTENT    = 1 << 2,
-    VIR_CONNECT_LIST_STORAGE_POOLS_TRANSIENT     = 1 << 3,
-
-    VIR_CONNECT_LIST_STORAGE_POOLS_AUTOSTART     = 1 << 4,
-    VIR_CONNECT_LIST_STORAGE_POOLS_NO_AUTOSTART  = 1 << 5,
-
-    /* List pools by type */
-    VIR_CONNECT_LIST_STORAGE_POOLS_DIR           = 1 << 6,
-    VIR_CONNECT_LIST_STORAGE_POOLS_FS            = 1 << 7,
-    VIR_CONNECT_LIST_STORAGE_POOLS_NETFS         = 1 << 8,
-    VIR_CONNECT_LIST_STORAGE_POOLS_LOGICAL       = 1 << 9,
-    VIR_CONNECT_LIST_STORAGE_POOLS_DISK          = 1 << 10,
-    VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI         = 1 << 11,
-    VIR_CONNECT_LIST_STORAGE_POOLS_SCSI          = 1 << 12,
-    VIR_CONNECT_LIST_STORAGE_POOLS_MPATH         = 1 << 13,
-    VIR_CONNECT_LIST_STORAGE_POOLS_RBD           = 1 << 14,
-    VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG      = 1 << 15,
-    VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER       = 1 << 16,
-    VIR_CONNECT_LIST_STORAGE_POOLS_ZFS           = 1 << 17,
-    VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGE      = 1 << 18,
-    VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI_DIRECT  = 1 << 19,
+    VIR_CONNECT_LIST_STORAGE_POOLS_INACTIVE      = 1 << 0, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_ACTIVE        = 1 << 1, /* (Since: v1.0.0) */
+
+    VIR_CONNECT_LIST_STORAGE_POOLS_PERSISTENT    = 1 << 2, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_TRANSIENT     = 1 << 3, /* (Since: v1.0.0) */
+
+    VIR_CONNECT_LIST_STORAGE_POOLS_AUTOSTART     = 1 << 4, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_NO_AUTOSTART  = 1 << 5, /* (Since: v1.0.0) */
+
+    VIR_CONNECT_LIST_STORAGE_POOLS_DIR           = 1 << 6, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_FS            = 1 << 7, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_NETFS         = 1 << 8, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_LOGICAL       = 1 << 9, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_DISK          = 1 << 10, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI         = 1 << 11, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_SCSI          = 1 << 12, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_MPATH         = 1 << 13, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_RBD           = 1 << 14, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG      = 1 << 15, /* (Since: v1.0.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER       = 1 << 16, /* (Since: v1.2.1) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_ZFS           = 1 << 17, /* (Since: v1.2.8) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGE      = 1 << 18, /* (Since: v3.1.0) */
+    VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI_DIRECT  = 1 << 19, /* (Since: v5.6.0) */
 } virConnectListAllStoragePoolsFlags;
 
 int                     virConnectListAllStoragePools(virConnectPtr conn,
-- 
2.35.1



More information about the libvir-list mailing list