[libvirt PATCH 08/10] include: add a space before ending a comment

Ján Tomko jtomko at redhat.com
Tue Jan 28 10:31:24 UTC 2020


Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 include/libvirt/libvirt-domain.h | 8 ++++----
 include/libvirt/libvirt-host.h   | 2 +-
 include/libvirt/virterror.h      | 5 ++---
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index faba90b040..5846e93d98 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -1428,7 +1428,7 @@ char *                  virDomainGetSchedulerType(virDomainPtr domain,
 # define VIR_DOMAIN_BLKIO_DEVICE_WRITE_BPS "device_write_bytes_sec"
 
 
-/* Set Blkio tunables for the domain*/
+/* Set Blkio tunables for the domain */
 int     virDomainSetBlkioParameters(virDomainPtr domain,
                                     virTypedParameterPtr params,
                                     int nparams, unsigned int flags);
@@ -1436,7 +1436,7 @@ int     virDomainGetBlkioParameters(virDomainPtr domain,
                                     virTypedParameterPtr params,
                                     int *nparams, unsigned int flags);
 
-/* Manage memory parameters.  */
+/* Manage memory parameters. */
 
 /**
  * VIR_DOMAIN_MEMORY_PARAM_UNLIMITED:
@@ -1483,7 +1483,7 @@ int     virDomainGetBlkioParameters(virDomainPtr domain,
 
 # define VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT "swap_hard_limit"
 
-/* Set memory tunables for the domain*/
+/* Set memory tunables for the domain */
 int     virDomainSetMemoryParameters(virDomainPtr domain,
                                      virTypedParameterPtr params,
                                      int nparams, unsigned int flags);
@@ -1768,7 +1768,7 @@ struct _virDomainBlockInfo {
                                     * holes, similar to 'du') */
     unsigned long long physical;   /* host physical size in bytes of
                                     * the image container (last
-                                    * offset, similar to 'ls')*/
+                                    * offset, similar to 'ls') */
 };
 
 int                     virDomainGetBlockInfo(virDomainPtr dom,
diff --git a/include/libvirt/libvirt-host.h b/include/libvirt/libvirt-host.h
index b87d634813..6972834175 100644
--- a/include/libvirt/libvirt-host.h
+++ b/include/libvirt/libvirt-host.h
@@ -167,7 +167,7 @@ struct _virNodeInfo {
     unsigned int sockets; /* number of CPU sockets per node if nodes > 1,
                              1 in case of unusual NUMA topology */
     unsigned int cores;   /* number of cores per socket, total number of
-                             processors in case of unusual NUMA topology*/
+                             processors in case of unusual NUMA topology */
     unsigned int threads; /* number of threads per core, 1 in case of
                              unusual numa topology */
 };
diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h
index b7aa2a0ec3..0f1c32283d 100644
--- a/include/libvirt/virterror.h
+++ b/include/libvirt/virterror.h
@@ -313,15 +313,14 @@ typedef enum {
                                            was denied */
     VIR_ERR_DBUS_SERVICE = 89,          /* error from a dbus service */
     VIR_ERR_STORAGE_VOL_EXIST = 90,     /* the storage vol already exists */
-    VIR_ERR_CPU_INCOMPATIBLE = 91,      /* given CPU is incompatible with host
-                                           CPU*/
+    VIR_ERR_CPU_INCOMPATIBLE = 91,      /* given CPU is incompatible with host CPU */
     VIR_ERR_XML_INVALID_SCHEMA = 92,    /* XML document doesn't validate against schema */
     VIR_ERR_MIGRATE_FINISH_OK = 93,     /* Finish API succeeded but it is expected to return NULL */
     VIR_ERR_AUTH_UNAVAILABLE = 94,      /* authentication unavailable */
     VIR_ERR_NO_SERVER = 95,             /* Server was not found */
     VIR_ERR_NO_CLIENT = 96,             /* Client was not found */
     VIR_ERR_AGENT_UNSYNCED = 97,        /* guest agent replies with wrong id
-                                           to guest-sync command (DEPRECATED)*/
+                                           to guest-sync command (DEPRECATED) */
     VIR_ERR_LIBSSH = 98,                /* error in libssh transport driver */
     VIR_ERR_DEVICE_MISSING = 99,        /* fail to find the desired device */
     VIR_ERR_INVALID_NWFILTER_BINDING = 100,  /* invalid nwfilter binding */
-- 
2.21.0




More information about the libvir-list mailing list