int
esxVI_GetInt(esxVI_ObjectContent *objectContent, const char *propertyName,
- esxVI_Int **value, esxVI_Occurrence occurence)
+ esxVI_Int **value, esxVI_Occurrence occurrence)
{
esxVI_DynamicProperty *dynamicProperty;
}
}
- if (!(*value) && occurence == esxVI_Occurrence_RequiredItem) {
+ if (!(*value) && occurrence == esxVI_Occurrence_RequiredItem) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("Missing '%s' property"), propertyName);
return -1;
/*
- * 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
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
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
if (!g_ascii_isalpha(modifier))
query++;
- /* exit on modifers for other types */
+ /* exit on modifiers for other types */
if (modifier == '^' || modifier == '!')
return 0;
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;
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, "-",
* @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
}
/*
- * 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
*
* 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.
*/
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.
*/
* 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.
*