Fix typos in src/*

Fix minor typos in source comments

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Nehal J Wani 2014-04-21 01:37:46 +05:30 committed by Eric Blake
parent 45e134d6fc
commit 3d5c29a17c
27 changed files with 45 additions and 44 deletions

View File

@ -4286,7 +4286,7 @@ Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Wed Dec 17 21:41:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/libvirt_sym.version.in: Remove non-existant symbols
* src/libvirt_sym.version.in: Remove non-existent symbols
(John Levon)
Wed Dec 17 21:35:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
@ -12415,7 +12415,7 @@ Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
Thu Jul 12 11:00:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/qemud.c: Add explicit checks for existance of x509
* qemud/qemud.c: Add explicit checks for existence of x509
certificate & key files to get better error reporting than
GNU TLS offers when it can't load a file
@ -13276,7 +13276,7 @@ Tue Apr 17 11:30:46 CEST 2007 Daniel Veillard <veillard@redhat.com>
Mon Apr 16 09:11:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/conf.c: Check for existance of QEMU binary path. Fix check
* qemud/conf.c: Check for existence of QEMU binary path. Fix check
for -no-kqemu flag to work with x86_64 on i386
Mon Apr 16 09:09:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
@ -15020,7 +15020,7 @@ Tue Nov 7 16:33:43 CET 2006 Daniel Veillard <veillard@redhat.com>
Tue Oct 31 10:31:34 CET 2006 Daniel Veillard <veillard@redhat.com>
* src/xend_internal.c: when getting informations about a non
existant domain, it is not a good idea to raise the HTTP
existent domain, it is not a good idea to raise the HTTP
404 GET error, the handling is better done somewhere up in
the stack.

View File

@ -2424,7 +2424,7 @@ Security:<br/>
Auto-detect existing cgroup placement (Daniel P. Berrange),<br/>
Add API for checking if a cgroup is valid for a domain (Daniel P. Berrange),<br/>
Add a virCgroupNewDetect API for finding cgroup placement (Daniel P. Berrange),<br/>
Add logic for handling systemd-machined non-existance (Daniel P. Berrange),<br/>
Add logic for handling systemd-machined non-existence (Daniel P. Berrange),<br/>
Fix handling of DBus errors emitted by the bus itself (Daniel P. Berrange),<br/>
storage: Add connection for autostart storage pool (John Ferlan),<br/>
Adjust 'ceph' authentication secret usage for rbd pool. (John Ferlan),<br/>
@ -3898,7 +3898,7 @@ Security:<br/>
Use separate symbol file for GNUTLS symbols (Daniel P. Berrange),<br/>
Apply security label when entering LXC namespaces (Daniel P. Berrange),<br/>
virCaps: conf: start splitting out irrelevant data (Peter Krempa),<br/>
Remove hack using existance of an 'identity' string to disable auth (Daniel P. Berrange),<br/>
Remove hack using existence of an 'identity' string to disable auth (Daniel P. Berrange),<br/>
Convert HAVE_SELINUX to WITH_SELINUX (Guido Günther),<br/>
capabilities: add NUMA memory information (Dusty Mabe),<br/>
apparmor: use AppArmorSetFDLabel for both imageFD and tapFD (Guannan Ren),<br/>
@ -4014,7 +4014,7 @@ Security:<br/>
qemu: Don't fail to shutdown domains with unresponsive agent (Michal Privoznik),<br/>
qemu: virConnectGetVersion returns bogus value (Viktor Mihajlovski),<br/>
qemu: fix use-after-free when parsing NBD disk (Paolo Bonzini),<br/>
Don't try to add non-existant devices to ACL (Daniel P. Berrange),<br/>
Don't try to add non-existent devices to ACL (Daniel P. Berrange),<br/>
Fix typo in internal VIR_QEMU_PROCESS_START_AUTODESROY constant (Daniel P. Berrange),<br/>
Fix autodestroy of QEMU guests (Daniel P. Berrange),<br/>
qemu: -numa doesn't (yet) support disjoint range (Eric Blake),<br/>
@ -4367,7 +4367,7 @@ Security:<br/>
qemu_monitor: Fix tray-open attribute in query-block (Michal Privoznik),<br/>
Fix bogus reporting of KVM support for non-native emulators (Daniel P. Berrange),<br/>
Move QEMU capabilities initialization later in QEMU startup (Daniel P. Berrange),<br/>
Fix performance &amp; reliabilty of QMP probing (Daniel P. Berrange),<br/>
Fix performance &amp; reliability of QMP probing (Daniel P. Berrange),<br/>
qemu: escape ipv6 for rbd network disk hosts (Josh Durgin),<br/>
snapshot: fix state after external snapshot of S3 domain (Eric Blake),<br/>
python: Fix bindings for virDomainSnapshotGet{Domain,Connect} (Jiri Denemark),<br/>
@ -6402,7 +6402,7 @@ Security:<br/>
python: Don't generate bodies for close callback functions (Peter Krempa),<br/>
maint: regenerate bootstrap (Eric Blake),<br/>
Remove accidentally committed virNetClientSetEOFNotify symbol (Daniel P. Berrange),<br/>
Remove two non-existant NWFilter driver symbols from .syms (Daniel P. Berrange),<br/>
Remove two non-existent NWFilter driver symbols from .syms (Daniel P. Berrange),<br/>
tests: reduce length of nodeinfodata test names (Eric Blake),<br/>
rpc: remove trailing whitespace character in error string (Guannan Ren),<br/>
po: avoid spurious double spaces in messages (Eric Blake),<br/>
@ -9238,7 +9238,7 @@ Security:<br/>
Make hvsupport.pl pick up the host device drivers (Matthias Bolte)
</li>
<li> Portability:<br/>
Explicitely invoke python for API doc generator (Daniel Veillard),<br/>
Explicitly invoke python for API doc generator (Daniel Veillard),<br/>
fix virParseVersionString with linux 3.0 (Scott Moser),<br/>
Add conditionals to allow build without SASL (Daniel P. Berrange),<br/>
Add missing include of signal.h in virnetsocket.c (Daniel P. Berrange),<br/>
@ -14263,7 +14263,7 @@ Security:<br/>
Factor qemudMonitorSend() out of qemudMonitorCommandExtra() (Mark
McLoughlin), Fix cgroup compile warnings (Daniel P. Berrange),
Fix misc build problems due to new drivers (Daniel P. Berrange),
Fix wierd build problems due to autopoint overwriting gnulib m4
Fix weird build problems due to autopoint overwriting gnulib m4
(Daniel P. Berrange), Makefile.cfg: Rename to... (Jim Meyering),
make .gnulib a submodule (Jim Meyering), make "make syntax-check"
consistent with "git diff --check" (Jim Meyering), Minor qemu

View File

@ -3109,7 +3109,7 @@ esxDomainDefineXML(virConnectPtr conn, const char *xml)
/*
* Build VMX datastore URL. Use the source of the first file-based harddisk
* to deduce the datastore and path for the VMX file. Don't just use the
* first disk, because it may be CDROM disk and ISO images are normaly not
* first disk, because it may be CDROM disk and ISO images are normally not
* located in the virtual machine's directory. This approach to deduce the
* datastore isn't perfect but should work in the majority of cases.
*/

View File

@ -460,7 +460,7 @@ esxStorageVolLookupByName(virStoragePoolPtr pool,
scsiLun = scsiLun->_next) {
if (STREQ(scsiLun->deviceName, name)) {
/*
* ScsiLun provides an UUID field that is unique accross
* ScsiLun provides a UUID field that is unique across
* multiple servers. But this field length is ~55 characters
* compute MD5 hash to transform it to an acceptable
* libvirt format

View File

@ -386,7 +386,7 @@ esxStorageVolLookupByPath(virConnectPtr conn, const char *path)
/*
* FIXME: calling backends blindly may set unwanted error codes
*
* VMFS Datastore path follows cannonical format i.e.:
* VMFS Datastore path follows canonical format i.e.:
* [<datastore_name>] <file_path>
* WHEREAS
* iSCSI LUNs device path follows normal linux path convention

View File

@ -151,7 +151,7 @@ netcfStateReload(void)
/*
* Get a minimal virInterfaceDef containing enough metadata
* for access control checks to be performed. Currently
* this implies existance of name and mac address attributes
* this implies existence of name and mac address attributes
*/
static virInterfaceDef * ATTRIBUTE_NONNULL(1)
netcfGetMinimalDefForDevice(struct netcf_if *iface)

View File

@ -66,7 +66,7 @@ virUdevStatusString(virUdevStatus status)
/*
* Get a minimal virInterfaceDef containing enough metadata
* for access control checks to be performed. Currently
* this implies existance of name and mac address attributes
* this implies existence of name and mac address attributes
*/
static virInterfaceDef * ATTRIBUTE_NONNULL(1)
udevGetMinimalDefForDevice(struct udev_device *dev)

View File

@ -77,7 +77,7 @@ const VIR_LOCK_SPACE_PROTOCOL_PROGRAM = 0xEA7BEEF;
const VIR_LOCK_SPACE_PROTOCOL_PROGRAM_VERSION = 1;
enum virLockSpaceProtocolProcedure {
/* Each function must be preceeded by a comment providing one or
/* Each function must be preceded by a comment providing one or
* more annotations:
*
* - @generate: none|client|server|both

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2010 Red Hat, Inc.
* Copyright (C) 2010, 2014 Red Hat, Inc.
* Copyright IBM Corp. 2008
*
* lxc_conf.c: config functions for managing linux containers
@ -242,7 +242,7 @@ virLXCLoadDriverConfig(virLXCDriverConfigPtr cfg,
virConfPtr conf;
virConfValuePtr p;
/* Avoid error from non-existant or unreadable file. */
/* Avoid error from non-existent or unreadable file. */
if (access(filename, R_OK) == -1)
goto done;
conf = virConfReadFile(filename, 0);

View File

@ -215,7 +215,7 @@ openvzReadNetworkConf(virDomainDefPtr def,
/*parse routing network configuration*
* Sample from config:
* IP_ADDRESS="1.1.1.1 1.1.1.2"
* splited IPs by space
* IPs split by space
*/
ret = openvzReadVPSConfigParam(veid, "IP_ADDRESS", &temp);
if (ret < 0) {
@ -242,8 +242,8 @@ openvzReadNetworkConf(virDomainDefPtr def,
/*parse bridge devices*/
/*Sample from config:
*NETIF="ifname=eth10,mac=00:18:51:C1:05:EE,host_ifname=veth105.10,host_mac=00:18:51:8F:D9:F3"
*devices splited by ';'
* NETIF="ifname=eth10,mac=00:18:51:C1:05:EE,host_ifname=veth105.10,host_mac=00:18:51:8F:D9:F3"
*devices split by ';'
*/
ret = openvzReadVPSConfigParam(veid, "NETIF", &temp);
if (ret < 0) {

View File

@ -2,7 +2,7 @@
* parallels_network.c: core privconn functions for managing
* Parallels Cloud Server hosts
*
* Copyright (C) 2013 Red Hat, Inc.
* Copyright (C) 2013-2014 Red Hat, Inc.
* Copyright (C) 2012 Parallels, Inc.
*
* This library is free software; you can redistribute it and/or
@ -201,7 +201,7 @@ parallelsLoadNetwork(parallelsConnPtr privconn, virJSONValuePtr jobj)
goto cleanup;
/* Network names are unique in Parallels Cloud Server, so we can make
* an UUID from it */
* a UUID from it */
md5_buffer(tmp, strlen(tmp), md5);
memcpy(def->uuid, md5, VIR_UUID_BUFLEN);
def->uuid_specified = 1;

View File

@ -2296,7 +2296,7 @@ virQEMUCapsProbeQMPKVMState(virQEMUCapsPtr qemuCaps,
/* The QEMU_CAPS_KVM flag was initially set according to the QEMU
* reporting the recognition of 'query-kvm' QMP command. That merely
* indicates existance of the command though, not whether KVM support
* indicates existence of the command though, not whether KVM support
* is actually available, nor whether it is enabled by default.
*
* If it is not present we need to clear the flag, and if it is

View File

@ -527,7 +527,7 @@ qemuSetupDevicesCgroup(virQEMUDriverPtr driver,
for (i = 0; deviceACL[i] != NULL; i++) {
if (!virFileExists(deviceACL[i])) {
VIR_DEBUG("Ignoring non-existant device %s", deviceACL[i]);
VIR_DEBUG("Ignoring non-existent device %s", deviceACL[i]);
continue;
}

View File

@ -39,7 +39,7 @@
# define QEMU_FSDEV_HOST_PREFIX "fsdev-"
/* These are only defaults, they can be changed now in qemu.conf and
* explicitely specified port is checked against these two (makes
* explicitly specified port is checked against these two (makes
* sense to limit the values).
*
* This limitation is mentioned in qemu.conf, so bear in mind that the

View File

@ -1304,7 +1304,7 @@ qemuGetProcessInfo(unsigned long long *cpuTime, int *lastCpu, long *vm_rss,
/* We got jiffies
* We want nanoseconds
* _SC_CLK_TCK is jiffies per second
* So calulate thus....
* So calculate thus....
*/
if (cpuTime)
*cpuTime = 1000ull * 1000ull * 1000ull * (usertime + systime) / (unsigned long long)sysconf(_SC_CLK_TCK);
@ -2934,7 +2934,7 @@ qemuDomainSaveMemory(virQEMUDriverPtr driver,
* we don't have an explicit offset in the header, so we fake
* it by padding the XML string with NUL bytes. Additionally,
* we want to ensure that virDomainSaveImageDefineXML can supply
* slightly larger XML, so we add a miminum padding prior to
* slightly larger XML, so we add a minimum padding prior to
* rounding out to page boundaries.
*/
pad = 1024;
@ -12509,7 +12509,7 @@ qemuDomainSnapshotPrepareDiskInternal(virConnectPtr conn,
{
int actualType;
/* active disks are handeled by qemu itself so no need to worry about those */
/* active disks are handled by qemu itself so no need to worry about those */
if (active)
return 0;

View File

@ -693,7 +693,8 @@ static int virNetTLSContextLoadCredentials(virNetTLSContextPtr ctxt,
goto cleanup;
}
} else {
VIR_DEBUG("Skipping non-existant cert %s key %s on client", cert, key);
VIR_DEBUG("Skipping non-existent cert %s key %s on client",
cert, key);
}
}

View File

@ -178,7 +178,7 @@ virSecuritySELinuxMCSFind(virSecurityManagerPtr mgr,
* the category part, since that's what we're really
* interested in. This won't work in Enforcing mode,
* but will prevent libvirtd breaking in Permissive
* mode when run with a wierd process label.
* mode when run with a weird process label.
*/
static int
virSecuritySELinuxMCSGetProcessRange(char **sens,

View File

@ -482,7 +482,7 @@ virStorageGenerateSecretUUID(virConnectPtr conn,
}
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("too many conflicts when generating an uuid"));
_("too many conflicts when generating a uuid"));
return -1;
}

View File

@ -1196,7 +1196,7 @@ virStorageBackendFileSystemVolRefresh(virConnectPtr conn,
if (ret < 0)
return ret;
/* Load any secrets if posible */
/* Load any secrets if possible */
if (vol->target.encryption &&
vol->target.encryption->format == VIR_STORAGE_ENCRYPTION_FORMAT_QCOW &&
vol->target.encryption->nsecrets == 0) {

View File

@ -1337,7 +1337,7 @@ static int umlGetProcessInfo(unsigned long long *cpuTime, pid_t pid)
/* We got jiffies
* We want nanoseconds
* _SC_CLK_TCK is jiffies per second
* So calulate thus....
* So calculate thus....
*/
*cpuTime = 1000ull * 1000ull * 1000ull * (usertime + systime) / (unsigned long long)sysconf(_SC_CLK_TCK);

View File

@ -545,7 +545,7 @@ int virFileUpdatePerm(const char *path,
# if HAVE_DECL_LOOP_CTL_GET_FREE
/* virFileLoopDeviceOpenLoopCtl() returns -1 when a real failure has occured
/* virFileLoopDeviceOpenLoopCtl() returns -1 when a real failure has occurred
* while in the process of allocating or opening the loop device. On success
* we return 0 and modify the fd to the appropriate file descriptor.
* If /dev/loop-control does not exist, we return 0 and do not set fd. */

View File

@ -758,7 +758,7 @@ virStringSearch(const char *str,
* @oldneedle: the substring to locate
* @newneedle: the substring to insert
*
* Search @haystack and replace all occurences of @oldneedle with @newneedle.
* Search @haystack and replace all occurrences of @oldneedle with @newneedle.
*
* Returns: a new string with all the replacements, or NULL on error
*/

View File

@ -392,7 +392,7 @@ vmwareVmxPath(virDomainDefPtr vmdef, char **vmxPath)
/*
* Build VMX URL. Use the source of the first file-based harddisk
* to deduce the path for the VMX file. Don't just use the
* first disk, because it may be CDROM disk and ISO images are normaly not
* first disk, because it may be CDROM disk and ISO images are normally not
* located in the virtual machine's directory. This approach
* isn't perfect but should work in the majority of cases.
*/

View File

@ -597,7 +597,7 @@ sexpr_get(virConnectPtr xend, const char *fmt, ...)
* @sexpr: an S-Expression
* @name: the name for the value
*
* convenience function to lookup an UUID value from the S-Expression
* convenience function to lookup a UUID value from the S-Expression
*
* Returns a -1 on error, 0 on success
*/

View File

@ -355,7 +355,7 @@ xenStoreDomainGetVNCPort(virConnectPtr conn, int domid)
* serial console is attached.
*
* Returns the path to the serial console. It is the callers
* responsibilty to free() the return string. Returns NULL
* responsibility to free() the return string. Returns NULL
* on error
*
* The caller must hold the lock on the privateData
@ -376,7 +376,7 @@ xenStoreDomainGetConsolePath(virConnectPtr conn, int domid)
* serial console is attached.
*
* Returns the path to the serial console. It is the callers
* responsibilty to free() the return string. Returns NULL
* responsibility to free() the return string. Returns NULL
* on error
*
* The caller must hold the lock on the privateData

View File

@ -56,7 +56,7 @@ uuid="00000000-0000-0000-0000-0123456789ab"
disk1="$tmpdir/1.img"
disk2="$tmpdir/2.img"
relative_disk1="$tmpdir/./../`basename $tmpdir`//./1.img"
nonexistent="$tmpdir/nonexistant.img"
nonexistent="$tmpdir/nonexistent.img"
bad_disk="/etc/passwd"
valid_uuid="libvirt-$uuid"
nonexistent_uuid="libvirt-00000000-0000-0000-0000-000000000001"

View File

@ -2936,7 +2936,7 @@ B<blockresize> for live resizing.
The following commands manipulate "secrets" (e.g. passwords, passphrases and
encryption keys). Libvirt can store secrets independently from their use, and
other objects (e.g. volumes or domains) can refer to the secrets for encryption
or possibly other uses. Secrets are identified using an UUID. See
or possibly other uses. Secrets are identified using a UUID. See
L<http://libvirt.org/formatsecret.html> for documentation of the XML format
used to represent properties of secrets.
@ -2946,7 +2946,7 @@ used to represent properties of secrets.
Create a secret with the properties specified in I<file>, with no associated
secret value. If I<file> does not specify a UUID, choose one automatically.
If I<file> specifies an UUID of an existing secret, replace its properties by
If I<file> specifies a UUID of an existing secret, replace its properties by
properties defined in I<file>, without affecting the secret value.
=item B<secret-dumpxml> I<secret>