]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virDomainBlockResizeFlags: Convert to prefix-style docs
authorPeter Krempa <pkrempa@redhat.com>
Tue, 31 Mar 2026 14:24:21 +0000 (16:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 15 Apr 2026 12:02:04 +0000 (14:02 +0200)
Upcoming patches will want to add more extensive docs for one of the new
flags so this format will make it more readable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
include/libvirt/libvirt-domain.h

index 09a797cab663dd30bc83bb163b9ecb19b6ccab46..084debbf2132ec990770e9aea16d3d589754ae1c 100644 (file)
@@ -2346,8 +2346,11 @@ int                     virDomainBlockPeek (virDomainPtr dom,
  * Since: 0.9.11
  */
 typedef enum {
-    VIR_DOMAIN_BLOCK_RESIZE_BYTES = 1 << 0, /* size in bytes instead of KiB (Since: 0.9.11) */
-    VIR_DOMAIN_BLOCK_RESIZE_CAPACITY = 1 << 1, /* resize to full the capacity of the source (Since: 10.0.0) */
+    /* size in bytes instead of KiB (Since: 0.9.11) */
+    VIR_DOMAIN_BLOCK_RESIZE_BYTES = 1 << 0,
+
+    /* resize to full the capacity of the source (Since: 10.0.0) */
+    VIR_DOMAIN_BLOCK_RESIZE_CAPACITY = 1 << 1,
 } virDomainBlockResizeFlags;
 
 int                     virDomainBlockResize (virDomainPtr dom,