[PATCH 07/17] include: virDomainBlockCopyFlags: Convert to prefix comments

Peter Krempa pkrempa at redhat.com
Fri Dec 3 15:01:46 UTC 2021


Switch to the comment style allowing more text.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 include/libvirt/libvirt-domain.h | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 2f017c5b68..dddcae86a4 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -2590,13 +2590,14 @@ int virDomainBlockRebase(virDomainPtr dom, const char *disk,
  * Flags available for virDomainBlockCopy().
  */
 typedef enum {
-    VIR_DOMAIN_BLOCK_COPY_SHALLOW   = 1 << 0, /* Limit copy to top of source
-                                                 backing chain */
-    VIR_DOMAIN_BLOCK_COPY_REUSE_EXT = 1 << 1, /* Reuse existing external
-                                                 file for a copy */
-    VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB = 1 << 2, /* Don't force usage of
-                                                     recoverable job for the
-                                                     copy operation */
+    /* Limit copy to top of source backing chain */
+    VIR_DOMAIN_BLOCK_COPY_SHALLOW   = 1 << 0,
+
+    /* Reuse existing external file for a copy */
+    VIR_DOMAIN_BLOCK_COPY_REUSE_EXT = 1 << 1,
+
+    /* Don't force usage of recoverable job for the copy operation */
+    VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB = 1 << 2,
 } virDomainBlockCopyFlags;

 /**
-- 
2.31.1




More information about the libvir-list mailing list