diff --git a/ChangeLog-old b/ChangeLog-old index ba738c4e20..e38a9bd746 100644 --- a/ChangeLog-old +++ b/ChangeLog-old @@ -4286,7 +4286,7 @@ Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange Wed Dec 17 21:41:39 GMT 2008 Daniel P. Berrange - * 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 @@ -12415,7 +12415,7 @@ Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange Thu Jul 12 11:00:17 EST 2007 Daniel P. Berrange - * 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 Mon Apr 16 09:11:04 EST 2007 Daniel P. Berrange - * 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 @@ -15020,7 +15020,7 @@ Tue Nov 7 16:33:43 CET 2006 Daniel Veillard Tue Oct 31 10:31:34 CET 2006 Daniel Veillard * 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. diff --git a/docs/news.html.in b/docs/news.html.in index a0920c61b9..6d658c815e 100644 --- a/docs/news.html.in +++ b/docs/news.html.in @@ -2424,7 +2424,7 @@ Security:
Auto-detect existing cgroup placement (Daniel P. Berrange),
Add API for checking if a cgroup is valid for a domain (Daniel P. Berrange),
Add a virCgroupNewDetect API for finding cgroup placement (Daniel P. Berrange),
- Add logic for handling systemd-machined non-existance (Daniel P. Berrange),
+ Add logic for handling systemd-machined non-existence (Daniel P. Berrange),
Fix handling of DBus errors emitted by the bus itself (Daniel P. Berrange),
storage: Add connection for autostart storage pool (John Ferlan),
Adjust 'ceph' authentication secret usage for rbd pool. (John Ferlan),
@@ -3898,7 +3898,7 @@ Security:
Use separate symbol file for GNUTLS symbols (Daniel P. Berrange),
Apply security label when entering LXC namespaces (Daniel P. Berrange),
virCaps: conf: start splitting out irrelevant data (Peter Krempa),
- Remove hack using existance of an 'identity' string to disable auth (Daniel P. Berrange),
+ Remove hack using existence of an 'identity' string to disable auth (Daniel P. Berrange),
Convert HAVE_SELINUX to WITH_SELINUX (Guido Günther),
capabilities: add NUMA memory information (Dusty Mabe),
apparmor: use AppArmorSetFDLabel for both imageFD and tapFD (Guannan Ren),
@@ -4014,7 +4014,7 @@ Security:
qemu: Don't fail to shutdown domains with unresponsive agent (Michal Privoznik),
qemu: virConnectGetVersion returns bogus value (Viktor Mihajlovski),
qemu: fix use-after-free when parsing NBD disk (Paolo Bonzini),
- Don't try to add non-existant devices to ACL (Daniel P. Berrange),
+ Don't try to add non-existent devices to ACL (Daniel P. Berrange),
Fix typo in internal VIR_QEMU_PROCESS_START_AUTODESROY constant (Daniel P. Berrange),
Fix autodestroy of QEMU guests (Daniel P. Berrange),
qemu: -numa doesn't (yet) support disjoint range (Eric Blake),
@@ -4367,7 +4367,7 @@ Security:
qemu_monitor: Fix tray-open attribute in query-block (Michal Privoznik),
Fix bogus reporting of KVM support for non-native emulators (Daniel P. Berrange),
Move QEMU capabilities initialization later in QEMU startup (Daniel P. Berrange),
- Fix performance & reliabilty of QMP probing (Daniel P. Berrange),
+ Fix performance & reliability of QMP probing (Daniel P. Berrange),
qemu: escape ipv6 for rbd network disk hosts (Josh Durgin),
snapshot: fix state after external snapshot of S3 domain (Eric Blake),
python: Fix bindings for virDomainSnapshotGet{Domain,Connect} (Jiri Denemark),
@@ -6402,7 +6402,7 @@ Security:
python: Don't generate bodies for close callback functions (Peter Krempa),
maint: regenerate bootstrap (Eric Blake),
Remove accidentally committed virNetClientSetEOFNotify symbol (Daniel P. Berrange),
- Remove two non-existant NWFilter driver symbols from .syms (Daniel P. Berrange),
+ Remove two non-existent NWFilter driver symbols from .syms (Daniel P. Berrange),
tests: reduce length of nodeinfodata test names (Eric Blake),
rpc: remove trailing whitespace character in error string (Guannan Ren),
po: avoid spurious double spaces in messages (Eric Blake),
@@ -9238,7 +9238,7 @@ Security:
Make hvsupport.pl pick up the host device drivers (Matthias Bolte)
  • Portability:
    - Explicitely invoke python for API doc generator (Daniel Veillard),
    + Explicitly invoke python for API doc generator (Daniel Veillard),
    fix virParseVersionString with linux 3.0 (Scott Moser),
    Add conditionals to allow build without SASL (Daniel P. Berrange),
    Add missing include of signal.h in virnetsocket.c (Daniel P. Berrange),
    @@ -14263,7 +14263,7 @@ Security:
    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 diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 5b12bd4133..d0829273b0 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -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. */ diff --git a/src/esx/esx_storage_backend_iscsi.c b/src/esx/esx_storage_backend_iscsi.c index 5509429802..4619629760 100644 --- a/src/esx/esx_storage_backend_iscsi.c +++ b/src/esx/esx_storage_backend_iscsi.c @@ -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 diff --git a/src/esx/esx_storage_driver.c b/src/esx/esx_storage_driver.c index 2cfe9397f9..cae53ed883 100644 --- a/src/esx/esx_storage_driver.c +++ b/src/esx/esx_storage_driver.c @@ -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.: * [] * WHEREAS * iSCSI LUNs device path follows normal linux path convention diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interface_backend_netcf.c index 36a50bd569..1b9ace5330 100644 --- a/src/interface/interface_backend_netcf.c +++ b/src/interface/interface_backend_netcf.c @@ -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) diff --git a/src/interface/interface_backend_udev.c b/src/interface/interface_backend_udev.c index 4fb8eab348..b05ac0e036 100644 --- a/src/interface/interface_backend_udev.c +++ b/src/interface/interface_backend_udev.c @@ -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) diff --git a/src/locking/lock_protocol.x b/src/locking/lock_protocol.x index 354d51a279..a77a78490c 100644 --- a/src/locking/lock_protocol.x +++ b/src/locking/lock_protocol.x @@ -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 diff --git a/src/lxc/lxc_conf.c b/src/lxc/lxc_conf.c index fd0b6efa60..edc0b68d32 100644 --- a/src/lxc/lxc_conf.c +++ b/src/lxc/lxc_conf.c @@ -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); diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 85dd100a0c..a7aff2a5cc 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -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) { diff --git a/src/parallels/parallels_network.c b/src/parallels/parallels_network.c index cbb44b9a81..191dbe16e6 100644 --- a/src/parallels/parallels_network.c +++ b/src/parallels/parallels_network.c @@ -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; diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 889e614f29..a5c6879d61 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -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 diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c index 2933b214e3..911936eaaa 100644 --- a/src/qemu/qemu_cgroup.c +++ b/src/qemu/qemu_cgroup.c @@ -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; } diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h index bad6ac08fb..0866c6ba91 100644 --- a/src/qemu/qemu_command.h +++ b/src/qemu/qemu_command.h @@ -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 diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index e58fa3fe58..5970585271 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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; diff --git a/src/rpc/virnettlscontext.c b/src/rpc/virnettlscontext.c index 8693c61b7e..032ff64fe8 100644 --- a/src/rpc/virnettlscontext.c +++ b/src/rpc/virnettlscontext.c @@ -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); } } diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index bfac11c7df..01a384a065 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -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, diff --git a/src/storage/storage_backend.c b/src/storage/storage_backend.c index 8f9df78603..946196b0bf 100644 --- a/src/storage/storage_backend.c +++ b/src/storage/storage_backend.c @@ -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; } diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c index fa5eba1d13..3694c2677d 100644 --- a/src/storage/storage_backend_fs.c +++ b/src/storage/storage_backend_fs.c @@ -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) { diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index 69f6c119b6..1e0ec0e406 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -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); diff --git a/src/util/virfile.c b/src/util/virfile.c index 3eb2703c0d..cffcbc1b70 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -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. */ diff --git a/src/util/virstring.c b/src/util/virstring.c index b2184f3caa..64c7259750 100644 --- a/src/util/virstring.c +++ b/src/util/virstring.c @@ -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 */ diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c index 5ff6396870..29ca322a0d 100644 --- a/src/vmware/vmware_conf.c +++ b/src/vmware/vmware_conf.c @@ -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. */ diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c index af41bccfac..c30b136ef2 100644 --- a/src/xen/xend_internal.c +++ b/src/xen/xend_internal.c @@ -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 */ diff --git a/src/xen/xs_internal.c b/src/xen/xs_internal.c index 0f7b7d2229..8702b1a563 100644 --- a/src/xen/xs_internal.c +++ b/src/xen/xs_internal.c @@ -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 diff --git a/tests/virt-aa-helper-test b/tests/virt-aa-helper-test index af91c615ec..4b927c176a 100755 --- a/tests/virt-aa-helper-test +++ b/tests/virt-aa-helper-test @@ -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" diff --git a/tools/virsh.pod b/tools/virsh.pod index 98d891ad1e..a2eae25138 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2936,7 +2936,7 @@ B 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 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, with no associated secret value. If I does not specify a UUID, choose one automatically. -If I specifies an UUID of an existing secret, replace its properties by +If I specifies a UUID of an existing secret, replace its properties by properties defined in I, without affecting the secret value. =item B I