]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
src: fix misc spelling errors reported by codespell
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 2 Oct 2020 14:07:27 +0000 (15:07 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Oct 2020 09:28:41 +0000 (10:28 +0100)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/esx/esx_vi.c
src/libvirt-domain.c
src/locking/virtlockd.service.in
src/logging/virtlogd.service.in
src/qemu/qemu_qapi.c
src/remote/remote_daemon.c
src/util/virbuffer.c
src/util/vireventglib.c
src/util/virhash.c
src/util/virnetdevmacvlan.c
src/vbox/vbox_uniformed_api.h

index c7af0925693ae7d5db63f1913106266a0f21bb0d..7e05318fdc97a9fa721197fc3f47a24e25a7a7b6 100644 (file)
@@ -2252,7 +2252,7 @@ esxVI_GetBoolean(esxVI_ObjectContent *objectContent, const char *propertyName,
 
 int
 esxVI_GetInt(esxVI_ObjectContent *objectContent, const char *propertyName,
-             esxVI_Int **value, esxVI_Occurrence occurence)
+             esxVI_Int **value, esxVI_Occurrence occurrence)
 {
     esxVI_DynamicProperty *dynamicProperty;
 
@@ -2268,7 +2268,7 @@ esxVI_GetInt(esxVI_ObjectContent *objectContent, const char *propertyName,
         }
     }
 
-    if (!(*value) && occurence == esxVI_Occurrence_RequiredItem) {
+    if (!(*value) && occurrence == esxVI_Occurrence_RequiredItem) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        _("Missing '%s' property"), propertyName);
         return -1;
index 415482a52648dd7de92de61528f3a1060a376bcf..2768c6d7c23c2ae2ad73c196982a11c54e7181e2 100644 (file)
@@ -3383,14 +3383,14 @@ virDomainMigrateUnmanagedProto3(virDomainPtr domain,
 
 
 /*
- * In normal migration, the libvirt client co-ordinates communication
+ * In normal migration, the libvirt client coordinates communication
  * between the 2 libvirtd instances on source & dest hosts.
  *
  * This function encapsulates 2 alternatives to the above case.
  *
  * 1. peer-2-peer migration, the libvirt client only talks to the source
  * libvirtd instance. The source libvirtd then opens its own
- * connection to the destination and co-ordinates migration itself.
+ * connection to the destination and coordinates migration itself.
  *
  * 2. direct migration, where there is no requirement for a libvirtd instance
  * on the dest host. Eg, XenD can talk direct to XenD, so libvirtd on dest
index e7f8057c06b4d538a2bf69ea67d478b16c2f0146..4a6fab05ab309a04a8565a5c73cbcfb47dae8d5d 100644 (file)
@@ -10,7 +10,7 @@ Documentation=https://libvirt.org
 EnvironmentFile=-@sysconfdir@/sysconfig/virtlockd
 ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
 ExecReload=/bin/kill -USR1 $MAINPID
-# Loosing the locks is a really bad thing that will
+# Losing the locks is a really bad thing that will
 # cause the machine to be fenced (rebooted), so make
 # sure we discourage OOM killer
 OOMScoreAdjust=-900
index daff48e67d833a2e254287c58746d8a4f463a92d..8ab547851772298ff570487f1ce2d3680c7e4d68 100644 (file)
@@ -10,7 +10,7 @@ Documentation=https://libvirt.org
 EnvironmentFile=-@sysconfdir@/sysconfig/virtlogd
 ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
 ExecReload=/bin/kill -USR1 $MAINPID
-# Loosing the logs is a really bad thing that will
+# Losing the logs is a really bad thing that will
 # cause the machine to be fenced (rebooted), so make
 # sure we discourage OOM killer
 OOMScoreAdjust=-900
index a793ae74ddccf2e8824db10a12c4814947bab03f..43f367f2a22fce7ef58d85629e3be2f3938060db 100644 (file)
@@ -166,7 +166,7 @@ virQEMUQAPISchemaTraverseObject(virJSONValuePtr cur,
     if (!g_ascii_isalpha(modifier))
         query++;
 
-    /* exit on modifers for other types */
+    /* exit on modifiers for other types */
     if (modifier == '^' || modifier == '!')
         return 0;
 
@@ -219,7 +219,7 @@ virQEMUQAPISchemaTraverseCommand(virJSONValuePtr cur,
     if (!g_ascii_isalpha(modifier))
         query++;
 
-    /* exit on modifers for other types */
+    /* exit on modifiers for other types */
     if (modifier == '^' || modifier == '!' || modifier == '+' || modifier == '*')
         return 0;
 
index 9eb2c2bc0df68410e39f41f1b8be2b14eb36656e..7607da94be90905ba75fed4235e3a9c8dfdb8b86 100644 (file)
@@ -454,7 +454,7 @@ static void daemonShutdownHandler(virNetDaemonPtr dmn,
     virNetDaemonQuit(dmn);
 }
 
-static void daemonReloadHandlerThread(void *opague G_GNUC_UNUSED)
+static void daemonReloadHandlerThread(void *opaque G_GNUC_UNUSED)
 {
     VIR_INFO("Reloading configuration on SIGHUP");
     virHookCall(VIR_HOOK_DRIVER_DAEMON, "-",
index b78c3debe9dbf073e991b5fac1d595a479148f7d..ebb4108b5d6a23c80b901222e54bb8a1ab7b3657 100644 (file)
@@ -528,7 +528,7 @@ virBufferEscape(virBufferPtr buf, char escape, const char *toescape,
  * @str: the string argument which will be URI-encoded
  *
  * Append the string to the buffer.  The string will be URI-encoded
- * during the append (ie any non alpha-numeric characters are replaced
+ * during the append (ie any non alphanumeric characters are replaced
  * with '%xx' hex sequences).  Auto indentation may be applied.
  */
 void
index 7e61b096ed9da747847e20f264486da52b5a51de..6842c6e8065e7551e962b8b690b2329d344aec07 100644 (file)
@@ -186,7 +186,7 @@ virEventGLibHandleFind(int watch)
 }
 
 /*
- * If the last refernce to a GSource is released in a non-main
+ * If the last reference to a GSource is released in a non-main
  * thread we're exposed to a race condition that causes a
  * crash:
  * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1358
index 36a2d312fcd372224cee0d86278ddfefbab672e0..abec757d9909dd44a77968f4b01daedb017a4aaa 100644 (file)
@@ -12,7 +12,7 @@
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
  * CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
  */
 
index 34bc0b90bd37ed62149a468e9261629c03b0782f..f301a9e96ce681bf282265d26349a544c6ad5f84 100644 (file)
@@ -872,7 +872,7 @@ virNetDevMacVLanCreateWithVPortProfile(const char *ifnameRequested,
                 ifname = g_strdup(ifnameRequested);
 
             } else if (!isAutoName) {
-                /* coudn't open ifnameRequested, but it wasn't an
+                /* couldn't open ifnameRequested, but it wasn't an
                  * autogenerated named, so there is nothing else to
                  * try - fail and return.
                  */
index aa508cadca68584d4f4dbccd8647a3b7bf31b0ad..42c4ad3dfb6e8b77c263d0bbbacbf27ffc9a5d7c 100644 (file)
@@ -27,7 +27,7 @@
  * The vbox_tmpl.c is the only place where the driver knows the inside
  * architecture of those vbox structs(vboxObj, vboxSession,
  * pFuncs, and vboxCallback). The file should be included
- * after the currect vbox_CAPI_v*.h, then we can use the vbox structs
+ * after the correct vbox_CAPI_v*.h, then we can use the vbox structs
  * in vboxGlobalData. The vbox_tmpl.c should implement functions
  * defined in vboxUniformedAPI.
  *