mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
src: fix misc spelling errors reported by codespell
Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0ea50f0148
commit
f7a1805a7d
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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, "-",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
*/
|
||||
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user