]> xenbits.xensource.com Git - libvirt.git/commitdiff
src: fix word spell typos
authorFangge Jin <fjin@redhat.com>
Thu, 9 Jul 2020 04:42:21 +0000 (12:42 +0800)
committerJán Tomko <jtomko@redhat.com>
Thu, 9 Jul 2020 08:01:41 +0000 (10:01 +0200)
Signed-off-by: Fangge Jin <fjin@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
55 files changed:
src/bhyve/libvirtd_bhyve.aug
src/cpu/cpu_arm.c
src/esx/esx_vi.c
src/interface/interface_backend_udev.c
src/internal.h
src/libvirt-domain.c
src/libvirt-nodedev.c
src/libxl/libxl_conf.c
src/libxl/libxl_driver.c
src/locking/libvirt_lockd.aug
src/locking/libvirt_sanlock.aug
src/locking/virtlockd.aug
src/logging/virtlogd.aug
src/lxc/libvirtd_lxc.aug
src/lxc/lxc_native.c
src/lxc/lxc_process.c
src/node_device/node_device_udev.c
src/qemu/qemu_agent.c
src/qemu/qemu_blockjob.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_command.c
src/qemu/qemu_conf.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain_address.c
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_qapi.c
src/qemu/qemu_security.c
src/remote/libvirtd.aug.in
src/remote/remote_daemon_dispatch.c
src/rpc/virnetlibsshsession.c
src/rpc/virnetserverprogram.c
src/rpc/virnetsshsession.c
src/storage/storage_util.c
src/util/virbuffer.h
src/util/vircommand.c
src/util/virdnsmasq.c
src/util/virhostcpu.c
src/util/virnetdev.c
src/util/virnetdevopenvswitch.c
src/util/virnetdevtap.c
src/util/virqemu.c
src/util/virresctrl.c
src/util/virsysinfo.c
src/util/virsystemd.c
src/util/virtpm.c
src/vbox/vbox_common.h
src/vbox/vbox_network.c
src/vbox/vbox_snapshot_conf.c
src/vbox/vbox_tmpl.c
src/vmx/vmx.c
src/vz/vz_driver.c
src/vz/vz_sdk.c

index 66079376c474211e10399cdde73dcd90a727db61..b6bee261a6dedb3637ad7b44831552b756331d67 100644 (file)
@@ -24,7 +24,7 @@ module Libvirtd_bhyve =
 
    let log_entry = str_entry "firmware_dir"
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = log_entry
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]
index cd4f720c95c51fe30e88e8b6d972c9fd05807aac..016d414143e2e6d610694fc2e7be23ef3f172d07 100644 (file)
@@ -528,9 +528,9 @@ virCPUarmCpuDataFromRegs(virCPUarmData *data)
     asm("mrs %0, MIDR_EL1" : "=r" (cpuid));
     VIR_DEBUG("CPUID read from register:  0x%016lx", cpuid);
 
-    /* parse the coresponding part_id bits */
+    /* parse the corresponding part_id bits */
     data->pvr = (cpuid >> 4) & 0xfff;
-    /* parse the coresponding vendor_id bits */
+    /* parse the corresponding vendor_id bits */
     data->vendor_id = (cpuid >> 24) & 0xff;
 
     hwcaps = getauxval(AT_HWCAP);
index 71aa3876b3d6eca449891b147f4502819aa193a8..a4f3be02a4685f5758cffef55a1bc860afca23de 100644 (file)
@@ -3410,7 +3410,7 @@ esxVI_LookupFileInfoByDatastorePath(esxVI_Context *ctx,
 
     if (STREQ(directoryName, directoryAndFileName)) {
         /*
-         * The <path> part of the datatore path didn't contain a '/', assume
+         * The <path> part of the datastore path didn't contain a '/', assume
          * that the <path> part is actually the file name.
          */
         datastorePathWithoutFileName = g_strdup_printf("[%s]", datastoreName);
index e388f98536450866f1512b269ff37cf0842fd932..670de48d52587c6d6f52cecfdae6832ee2d260f5 100644 (file)
@@ -653,7 +653,7 @@ udevGetIfaceDefBond(struct udev *udev,
 
     /* bonding/mode is in the format: "balance-rr 0" so we find the
      * space and increment the pointer to get the number and convert
-     * it to an interger. libvirt uses 1 through 7 while the raw
+     * it to an integer. libvirt uses 1 through 7 while the raw
      * number is 0 through 6 so increment it by 1.
      */
     tmp_str = udev_device_get_sysattr_value(dev, "bonding/mode");
@@ -684,7 +684,7 @@ udevGetIfaceDefBond(struct udev *udev,
 
     /* bonding/arp_validate is in the format: "none 0" so we find the
      * space and increment the pointer to get the number and convert
-     * it to an interger.
+     * it to an integer.
      */
     tmp_str = udev_device_get_sysattr_value(dev, "bonding/arp_validate");
     if (!tmp_str) {
index e18121806713ec72efd02c90d5d0c9b6ed4c7ae8..c054e3ce96f06989072fe0c65fd3e4999efde7f9 100644 (file)
@@ -490,7 +490,7 @@ enum {
 #endif
 
 /* Ideally callers would use the g_*printf
- * functions directly but there are alot to
+ * functions directly but there are a lot to
  * convert, so until then...
  */
 #ifndef VIR_NO_GLIB_STDIO
index 52ce3ef79844f3697d36602a09b47d3e2fa0501b..9f65cba2e87a6a086011bddad2183f164f29ea3f 100644 (file)
@@ -10016,7 +10016,7 @@ virDomainGetBlockJobInfo(virDomainPtr dom, const char *disk,
  * @bandwidth: specify bandwidth limit; flags determine the unit
  * @flags: bitwise-OR of virDomainBlockJobSetSpeedFlags
  *
- * Set the maximimum allowable bandwidth that a block job may consume.  If
+ * Set the maximum allowable bandwidth that a block job may consume.  If
  * bandwidth is 0, the limit will revert to the hypervisor default of
  * unlimited.
  *
index cdec1235687a6aa6a0863c5f15a171b4e9723a4e..ca6c2bb057d59b108aeccbe1f99d43fd4218c296 100644 (file)
@@ -492,7 +492,7 @@ virNodeDeviceRef(virNodeDevicePtr dev)
  * virNodeDeviceDettach:
  * @dev: pointer to the node device
  *
- * Dettach the node device from the node itself so that it may be
+ * Detach the node device from the node itself so that it may be
  * assigned to a guest domain.
  *
  * Depending on the hypervisor, this may involve operations such
index 02cc5e6f1b081852b2895a52380d720138413a1a..8e63d40376f83a8019832aab50fa82ba84f093bb 100644 (file)
@@ -1861,7 +1861,7 @@ int libxlDriverConfigLoadFile(libxlDriverConfigPtr cfg,
 }
 
 /*
- * dom0's maximum memory can be controled by the user with the 'dom0_mem' Xen
+ * dom0's maximum memory can be controlled by the user with the 'dom0_mem' Xen
  * command line parameter. E.g. to set dom0's initial memory to 4G and max
  * memory to 8G: dom0_mem=4G,max:8G
  * Supported unit suffixes are [bBkKmMgGtT]. If not specified the default
index 9b9713df2c641c24e38d92f3bd87132d234a6991..4db3c0782e42ccfa68a5d966ef08af7173a2e679 100644 (file)
@@ -1533,7 +1533,7 @@ libxlDomainPMWakeup(virDomainPtr dom, unsigned int flags)
         goto endjob;
     }
     virDomainObjSetState(vm, VIR_DOMAIN_RUNNING, VIR_DOMAIN_RUNNING_WAKEUP);
-    /* reenable death event - libxl reports it only once */
+    /* re-enable death event - libxl reports it only once */
     if (priv->deathW)
         libxl_evdisable_domain_death(cfg->ctx, priv->deathW);
     if (libxl_evenable_domain_death(cfg->ctx, vm->def->id, 0, &priv->deathW))
index 6888e8e9b7187dafa8fc2bd6dd94ba23ef430f49..8cdb71a8a43e091802ad92ec59c6f3281775bbb0 100644 (file)
@@ -16,7 +16,7 @@ module Libvirt_lockd =
    let int_entry       (kw:string) = [ key kw . value_sep . int_val ]
 
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = bool_entry "auto_disk_leases"
              | bool_entry "require_lease_for_disks"
              | str_entry "file_lockspace_dir"
index 88435902d2685b3e601c1277de7c038e8cdc8c65..184ea1f1817ae0ce6ac13e24632d37299a8d591f 100644 (file)
@@ -16,7 +16,7 @@ module Libvirt_sanlock =
    let int_entry       (kw:string) = [ key kw . value_sep . int_val ]
 
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = str_entry "disk_lease_dir"
              | bool_entry "auto_disk_leases"
              | int_entry "host_id"
index 06d508e6e5e43833bce6004c122754eb15a181b1..4b8224b7bc44d2e35e9cc13109942326e38246be 100644 (file)
@@ -30,7 +30,7 @@ module Virtlockd =
                      | int_entry "max_clients"
                      | int_entry "admin_max_clients"
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = logging_entry
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]
index 04580734d6590e20b12cc06564d3701ec5100c41..0f1b290c728884420cacd22baabc97e8f1a9119b 100644 (file)
@@ -32,7 +32,7 @@ module Virtlogd =
                      | int_entry "max_size"
                      | int_entry "max_backups"
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = logging_entry
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]
index be6402cc012b6b7c4579d49c454202b1003ae1d7..0e7666a70ebbea115a1db9d6219c813dabe1e931 100644 (file)
@@ -28,7 +28,7 @@ module Libvirtd_lxc =
                  | bool_entry "security_default_confined"
                  | bool_entry "security_require_confined"
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = log_entry
    let comment = [ label "#comment" . del /#[ \t]*/ "# " .  store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
    let empty = [ label "#empty" . eol ]
index 9e879e438a7f0284dc0cfc643867d2ec64a93f4d..cc545f5fdacf4c61605327044a13733e9177cd0b 100644 (file)
@@ -713,7 +713,7 @@ lxcNetworkGetParseDataByIndexLegacy(lxcNetworkParseDataArray *networks,
     if (ndata > 0)
         return networks->parseData[ndata - 1];
 
-    /* Not able to retrive an element */
+    /* Not able to retrieve an element */
     return NULL;
 }
 
index f3d57875ad04c67461bda93a6feed7c4603add61..fc59c2e5afb6d43f208a11ee1c85f29afb1407c0 100644 (file)
@@ -861,7 +861,7 @@ int virLXCProcessStop(virLXCDriverPtr driver,
     /* If the LXC domain is suspended we send all processes a SIGKILL
      * and thaw them. Upon wakeup the process sees the pending signal
      * and dies immediately. It is guaranteed that priv->cgroup != NULL
-     * here because the domain has aleady been suspended using the
+     * here because the domain has already been suspended using the
      * freezer cgroup.
      */
     if (reason == VIR_DOMAIN_SHUTOFF_DESTROYED &&
index e389b5630292a6bf4b671a33e6f356153399a43c..ff558efb832e311549fdb97aae59d32b0e0e2d06 100644 (file)
@@ -1409,7 +1409,7 @@ udevEnumerateAddMatches(struct udev_enumerate *udev_enumerate)
     for (i = 0; i < G_N_ELEMENTS(subsystem_ignored); i++) {
         const char *s = subsystem_ignored[i];
         if (udev_enumerate_add_nomatch_subsystem(udev_enumerate, s) < 0) {
-            virReportSystemError(errno, "%s", _("failed to add susbsystem filter"));
+            virReportSystemError(errno, "%s", _("failed to add subsystem filter"));
             return -1;
         }
     }
index 37b5451e33b7044bff22ef63e6ae7115dd8659c5..af8df49daa1f17727e6cf265240ba7b9af8950ac 100644 (file)
@@ -90,7 +90,7 @@ struct _qemuAgentMessage {
     bool finished;
     /* true for sync command */
     bool sync;
-    /* id of the issued sync comand */
+    /* id of the issued sync command */
     unsigned long long id;
     bool first;
 };
index 435c945b7881a800e86b331b09164402bdef9434..0039bc0e9fdd35b2f7fa0c434200f9fa93010e2f 100644 (file)
@@ -519,7 +519,7 @@ qemuBlockJobRefreshJobs(virQEMUDriverPtr driver,
         /* try cancelling invalid jobs - this works only if the job is not
          * concluded. In such case it will fail. We'll leave such job linger
          * in qemu and just forget about it in libvirt because there's not much
-         * we coud do besides killing the VM */
+         * we could do besides killing the VM */
         if (job->invalidData) {
 
             qemuBlockJobMarkBroken(job);
index 5f21aafa68d50d28bf927e18f3bfbfe7a818d4d9..b27a5e5c810c31342b01904ca81834aae70d33c7 100644 (file)
@@ -615,7 +615,7 @@ typedef struct _virQEMUCapsHostCPUData virQEMUCapsHostCPUData;
 typedef virQEMUCapsHostCPUData *virQEMUCapsHostCPUDataPtr;
 struct _virQEMUCapsHostCPUData {
     /* Only the "info" part is stored in the capabilities cache, the rest is
-     * re-computed from other fields and external data sources everytime we
+     * re-computed from other fields and external data sources every time we
      * probe QEMU or load the cache.
      */
     qemuMonitorCPUModelInfoPtr info;
@@ -5280,7 +5280,7 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps,
 
     virQEMUCapsInitQMPBasicArch(qemuCaps);
 
-    /* initiate all capapbilities based on qemu version */
+    /* initiate all capabilities based on qemu version */
     virQEMUCapsInitQMPVersionCaps(qemuCaps);
 
     if (virQEMUCapsProbeQMPCommands(qemuCaps, mon) < 0)
index 6dbaf40f1e6585a399f3d47b709d9ab6ce78ebca..24e99e13b813d2385319ce578d86e175a7fd36d1 100644 (file)
@@ -806,7 +806,7 @@ qemuBuildRBDSecinfoURI(virBufferPtr buf,
 
 /* qemuBuildTLSx509BackendProps:
  * @tlspath: path to the TLS credentials
- * @listen: boolen listen for client or server setting
+ * @listen: boolean listen for client or server setting
  * @verifypeer: boolean to enable peer verification (form of authorization)
  * @alias: alias for the TLS credentials object
  * @secalias: if one exists, the alias of the security object for passwordid
@@ -847,7 +847,7 @@ qemuBuildTLSx509BackendProps(const char *tlspath,
 /* qemuBuildTLSx509CommandLine:
  * @cmd: Pointer to command
  * @tlspath: path to the TLS credentials
- * @listen: boolen listen for client or server setting
+ * @listen: boolean listen for client or server setting
  * @verifypeer: boolean to enable peer verification (form of authorization)
  * @certEncSecretAlias: alias of a 'secret' object for decrypting TLS private key
  *                      (optional)
index 30d7c61cf908233205c69d4d462dabd3bcde4215..4762f2a88a7c267438667a118d26ba83559739f1 100644 (file)
@@ -1646,7 +1646,7 @@ qemuSharedDeviceEntryRemove(virQEMUDriverPtr driver,
     if (!(entry = virHashLookup(driver->sharedDevices, key)))
         return -1;
 
-    /* Nothing to do if the shared disk is not recored in the table. */
+    /* Nothing to do if the shared disk is not recorded in the table. */
     if (!qemuSharedDeviceEntryDomainExists(entry, name, &idx))
         return 0;
 
index 809cd3d11300208f11aefb25578f5f07add9432d..248e2596342a55d35fc7887675374c38d5abe43b 100644 (file)
@@ -4931,7 +4931,7 @@ qemuDomainControllerDefPostParse(virDomainControllerDefPtr cont,
         if (cont->model == VIR_DOMAIN_CONTROLLER_MODEL_USB_DEFAULT && qemuCaps) {
             /* Pick a suitable default model for the USB controller if none
              * has been selected by the user and we have the qemuCaps for
-             * figuring out which contollers are supported.
+             * figuring out which controllers are supported.
              *
              * We rely on device availability instead of setting the model
              * unconditionally because, for some machine types, there's a
@@ -8193,7 +8193,7 @@ qemuDomainAlignMemorySizes(virDomainDefPtr def)
  * @mem: memory device definition object
  *
  * Aligns the size of the memory module as qemu enforces it. The size is updated
- * inplace. Default rounding is now to 1 MiB (qemu requires rouding to page,
+ * inplace. Default rounding is now to 1 MiB (qemu requires rounding to page,
  * size so this should be safe).
  */
 int
@@ -9307,7 +9307,7 @@ qemuDomainRefreshVcpuHalted(virQEMUDriverPtr driver,
     if (vm->def->virtType == VIR_DOMAIN_VIRT_QEMU)
         return 0;
 
-    /* The halted state is interresting only on s390(x). On other platforms
+    /* The halted state is interesting only on s390(x). On other platforms
      * the data would be stale at the time when it would be used.
      * Calling qemuMonitorGetCpuHalted() can adversely affect the running
      * VM's performance unless QEMU supports query-cpus-fast.
@@ -9402,7 +9402,7 @@ qemuDomainDiskByName(virDomainDefPtr def,
  *
  * Validate whether the disk source is valid for disk device='lun'.
  *
- * Returns 0 if the configuration is valid -1 and a libvirt error if the soure
+ * Returns 0 if the configuration is valid -1 and a libvirt error if the source
  * is invalid.
  */
 int
index d2a0bd9c02c97631fdb1d1b160aa870504e7c26d..058cbda2a26885f329ad4aa4a6df06e3635f3c2f 100644 (file)
@@ -2580,7 +2580,7 @@ qemuDomainAddressFindNewBusNr(virDomainDefPtr def)
      *  never need any additional child buses (probably only a few of the
      *  32 will ever be used). So for pci-expander-bus we find the lowest
      *  existing busNr, and set this one to the current lowest - 2 (one
-     *  for the pxb, one for the intergrated pci-bridge), thus leaving the
+     *  for the pxb, one for the integrated pci-bridge), thus leaving the
      *  maximum possible bus numbers available for other buses plugged
      *  into pci-root (i.e. pci-bridges and other
      *  pci-expander-buses). Anyone who needs more than 32 devices
index 75667049f9133d7aadda22edb0c18bc8e9246efd..5ee5b9ffe603d6def14c46a4f6106a5700c6c056 100644 (file)
@@ -6426,7 +6426,7 @@ qemuDomainDelIOThread(virDomainPtr dom,
  *
  * Alter the specified @iothread_id with the values provided.
  *
- * Returs 0 on success, -1 on failure
+ * Returns 0 on success, -1 on failure
  */
 static int
 qemuDomainSetIOThreadParams(virDomainPtr dom,
@@ -6764,7 +6764,7 @@ qemuDomainSaveImageOpen(virQEMUDriverPtr driver,
     }
 
     if (header->version > QEMU_SAVE_VERSION) {
-        /* convert endianess and try again */
+        /* convert endianness and try again */
         bswap_header(header);
     }
 
index 3954ad1109ad43a7aacc6cbcbe80a3d82b6e4106..e897c059ddbc355525700de46f2c53386dabf6a2 100644 (file)
@@ -62,7 +62,7 @@ VIR_LOG_INIT("qemu.qemu_hotplug");
 
 #define CHANGE_MEDIA_TIMEOUT 5000
 
-/* Timeout in miliseconds for device removal. PPC64 domains
+/* Timeout in milliseconds for device removal. PPC64 domains
  * can experience a bigger delay in unplug operations during
  * heavy guest activity (vcpu being the most notable case), thus
  * the timeout for PPC64 is also bigger. */
index b7dbadb728e80af52dc3c060776d986920121882..4ef3245c75686c90d99be24d30334978f0e7c518 100644 (file)
@@ -3288,7 +3288,7 @@ static void qemuMigrationSrcIOFunc(void *arg)
     virErrorRestore(&err);
 
  error:
-    /* Let the source qemu know that the transfer cant continue anymore.
+    /* Let the source qemu know that the transfer can't continue anymore.
      * Don't copy the error for EPIPE as destination has the actual error. */
     VIR_FORCE_CLOSE(data->sock);
     if (!virLastErrorIsSystemErrno(EPIPE))
index 157ebb43e8841fa9dcba2400708ee58f8f490e50..2c66397f8b2490dd30f4f6c5a87313c64a0b10c8 100644 (file)
@@ -4340,7 +4340,7 @@ qemuMonitorSetWatchdogAction(qemuMonitorPtr mon,
  * @jobname: name of the job
  * @props: JSON object describing the blockdev to add
  *
- * Instructs qemu to create/format a new stroage or format layer. Note that
+ * Instructs qemu to create/format a new storage or format layer. Note that
  * the job does not add the created/formatted image into qemu and
  * qemuMonitorBlockdevAdd needs to be called separately with corresponding
  * arguments. Note that the arguments for creating and adding are different.
index e6b5ea3763b4a39e402a5b8ff5e2b11667440523..a793ae74ddccf2e8824db10a12c4814947bab03f 100644 (file)
@@ -403,12 +403,12 @@ virQEMUQAPISchemaTraverse(const char *baseName,
  *   '*subattribute': same as above but the selected member must be optional
  *                    (has a property named 'default' in the schema)
  *   '+variant": In the case of unionized objects, select a specific variant of
- *               the prevously selected member
+ *               the previously selected member
  *
  * - Boolean queries - @entry remains NULL, return value indicates success:
  *   '^enumval': returns true if the previously selected enum contains 'enumval'
  *   '!basictype': returns true if previously selected type is of 'basictype'
- *                 JSON type. Spported are 'null', 'string', 'number', 'value',
+ *                 JSON type. Supported are 'null', 'string', 'number', 'value',
  *                 'int' and 'boolean.
  *   '$feature': returns true if the previously selected type supports 'feature'
  *               ('feature' is in the 'features' array of given type)
index 3b6d6e91f4e29a89451c913f060e9a92efd0957a..f93d189df976c2d88728b9e32232c0b1f4e2f463 100644 (file)
@@ -455,7 +455,7 @@ qemuSecurityRestoreChardevLabel(virQEMUDriverPtr driver,
  * @existstatus: pointer to int returning exit status of process
  * @cmdret: pointer to int returning result of virCommandRun
  *
- * Start the vhost-user-gpu process with approriate labels.
+ * Start the vhost-user-gpu process with appropriate labels.
  * This function returns -1 on security setup error, 0 if all the
  * setup was done properly. In case the virCommand failed to run
  * 0 is returned but cmdret is set appropriately with the process
index 23a01c41e2f5d683b0b3b3b3a146a1cde9215d11..61ea8067b96ff897eb4d474ab82bdc5e84291321 100644 (file)
@@ -91,7 +91,7 @@ module @DAEMON_NAME_UC@ =
                   | str_entry "host_uuid_source"
                   | int_entry "ovs_timeout"
 
-   (* Each enty in the config is one of the following three ... *)
+   (* Each entry in the config is one of the following three ... *)
    let entry = sock_acl_entry
              | authentication_entry
 @CUT_ENABLE_IP@
index 67b86cff78aacbebfe560109e57daf9d474051a4..85ca78a261906b95a18fedba847e0c22280817cf 100644 (file)
@@ -1931,7 +1931,7 @@ void *remoteClientNew(virNetServerClientPtr client,
  * stateless ones inside libvirt.so). All the interesting
  * drivers are in separate daemons. Thus when we get a NULL
  * URI we need to simulate probing that virConnectOpen would
- * previously do. We use the existance of the UNIX domain
+ * previously do. We use the existence of the UNIX domain
  * socket as our hook for probing.
  *
  * This assumes no stale sockets left over from a now dead
index c9b31e94625cf127287a2a8c3f7eef6dd5651557..3ae53392efa38d83fa6b397df6f89d2bd52d3201 100644 (file)
@@ -598,7 +598,7 @@ virNetLibsshAuthenticatePassword(virNetLibsshSessionPtr sess,
     VIR_DEBUG("sess=%p", sess);
 
     if (priv->password) {
-        /* tunelled password authentication */
+        /* tunnelled password authentication */
         if ((rc = ssh_userauth_password(sess->session, NULL,
                                         priv->password)) == 0)
             return SSH_AUTH_SUCCESS;
@@ -621,7 +621,7 @@ virNetLibsshAuthenticatePassword(virNetLibsshSessionPtr sess,
                                                     sess->hostname)))
                 return SSH_AUTH_ERROR;
 
-            /* tunelled password authentication */
+            /* tunnelled password authentication */
             if ((rc = ssh_userauth_password(sess->session, NULL,
                                             password)) == 0)
                 return SSH_AUTH_SUCCESS;
index 8df92fb8df005c8724c84c60b89fe356505a6256..f8d7fe85ed812edd21c1a46bfe55dc444cae2c98 100644 (file)
@@ -354,7 +354,7 @@ int virNetServerProgramDispatch(virNetServerProgramPtr prog,
  *
  * This method is used to dispatch a message representing an
  * incoming method call from a client. It decodes the payload
- * to obtain method call arguments, invokves the method and
+ * to obtain method call arguments, invokes the method and
  * then sends a reply packet with the return values
  *
  * Returns 0 if the reply was sent, or -1 upon fatal error
index 490e9d5c5d1d3995ef31d4f3d99bf795167c28b0..bb6e1379398d497ff11521848e7d5ec0c0780a5e 100644 (file)
@@ -681,7 +681,7 @@ virNetSSHAuthenticatePassword(virNetSSHSessionPtr sess,
     VIR_DEBUG("sess=%p", sess);
 
     if (priv->password) {
-        /* tunelled password authentication */
+        /* tunnelled password authentication */
         if ((rc = libssh2_userauth_password(sess->session,
                                             priv->username,
                                             priv->password)) == 0) {
@@ -705,7 +705,7 @@ virNetSSHAuthenticatePassword(virNetSSHSessionPtr sess,
                                                     sess->hostname)))
                 goto cleanup;
 
-            /* tunelled password authentication */
+            /* tunnelled password authentication */
             if ((rc = libssh2_userauth_password(sess->session,
                                                 priv->username,
                                                 password)) == 0) {
index 9f46ea764bc78fbfc3f350c69f0ce60b31f4b7d7..8d92232a87045a2591bf4b70976ce85ee58fa06e 100644 (file)
@@ -2399,7 +2399,7 @@ virStorageBackendVolUploadLocal(virStoragePoolObjPtr pool G_GNUC_UNUSED,
     virCheckFlags(VIR_STORAGE_VOL_UPLOAD_SPARSE_STREAM, -1);
     /* if volume has target format VIR_STORAGE_FILE_PLOOP
      * we need to restore DiskDescriptor.xml, according to
-     * new contents of volume. This operation will be perfomed
+     * new contents of volume. This operation will be performed
      * when volUpload is fully finished. */
     if (vol->target.format == VIR_STORAGE_FILE_PLOOP) {
         /* Fail if the volume contains snapshots or we failed to check it.*/
@@ -2985,7 +2985,7 @@ virStorageBackendBLKIDFindPart(blkid_probe probe,
      * however, the blkid_do_probe for "dvh" returns "sgi" and
      * for "pc98" it returns "dos". Although "bsd" is recognized,
      * it seems that the parted created partition table is not being
-     * properly recogized. Since each of these will cause problems
+     * properly recognized. Since each of these will cause problems
      * with startup comparison, let's just treat them as UNKNOWN causing
      * the caller to fallback to using PARTED */
     if (STREQ(format, "dvh") || STREQ(format, "pc98") || STREQ(format, "bsd"))
index b66b1f2b231712f1dc40e7c55faa25226e129ef9..e035135c1c8cd57c9fe9343a61346feb4dadd67b 100644 (file)
@@ -39,7 +39,7 @@ typedef virBuffer *virBufferPtr;
  * VIR_BUFFER_INIT_CHILD:
  * @parentbuf: parent buffer for XML element formatting
  *
- * Intitialize a virBuffer structure and set up the indentation level for
+ * Initialize a virBuffer structure and set up the indentation level for
  * formatting XML subelements of @parentbuf.
  */
 #define VIR_BUFFER_INIT_CHILD(parentbuf) { NULL, (parentbuf)->indent + 2 }
index e21116b232ca8e7aabe3cc2a3262af2abdbdd433..5ce69ef24195a3848f9209f08eb5f7f4780572e4 100644 (file)
@@ -1426,7 +1426,7 @@ virCommandAddEnvBuffer(virCommandPtr cmd, virBufferPtr buf)
  * @name: the name to look up in current environment
  *
  * Pass an environment variable to the child
- * using current process' value
+ * using current process's value
  */
 void
 virCommandAddEnvPass(virCommandPtr cmd, const char *name)
index b22d4622d5ddd8c227d75d5b7239f3f95313df21..f60577b2218b33c8c83d0cb76214a3098fa39279 100644 (file)
@@ -866,7 +866,7 @@ dnsmasqCapsGet(dnsmasqCapsPtr caps, dnsmasqCapsFlags flag)
  *
  *   Turns a vector of dnsmasqDhcpHost into the string that is ought to be
  *   stored in the hostsfile, this functionality is split to make hostsfiles
- *   testable. Returs NULL if nhosts is 0.
+ *   testable. Returns NULL if nhosts is 0.
  */
 char *
 dnsmasqDhcpHostsToString(dnsmasqDhcpHost *hosts,
index 8ca67e357dd919f5b409931a609933f4995a18fd..6cea75536d6ce6e909db13531291a989657f3251 100644 (file)
@@ -663,7 +663,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo,
      * subcore will vary accordingly to 8, 4 and 2 respectively.
      * So, On host threads_per_core what is arrived at from sysfs in the
      * current logic is actually the subcores_per_core. Threads per subcore
-     * can only be obtained from the kvm device. For example, on P8 wih 1
+     * can only be obtained from the kvm device. For example, on P8 with 1
      * core having 8 threads, sub_cores_percore=4, the threads 0,2,4 & 6
      * will be online. The sysfs reflects this and in the current logic
      * variable 'threads' will be 4 which is nothing but subcores_per_core.
index 1d024b8b97a6820d0b073dd78b35e791df0ef421..41dc5bd4c4b1c88c8a359bb7128a2fdd9c3ad432 100644 (file)
@@ -1067,7 +1067,7 @@ virNetDevSysfsDeviceFile(char **pf_sysfs_device_link, const char *ifname,
  *
  * https://www.kernel.org/doc/html/latest/admin-guide/sysfs-rules.html
  *
- * Returns true if devpath's susbsystem is pci, false otherwise.
+ * Returns true if devpath's subsystem is pci, false otherwise.
  */
 static bool
 virNetDevIsPCIDevice(const char *devpath)
index dbb489d174daeb44d9d930c5ef0d28a5633853be..45fbf3f360459a0251a762e9b458183730523ad6 100644 (file)
@@ -35,7 +35,7 @@
 VIR_LOG_INIT("util.netdevopenvswitch");
 
 /*
- * Set openvswitch default timout
+ * Set openvswitch default timeout
  */
 static unsigned int virNetDevOpenvswitchTimeout = VIR_NETDEV_OVS_DEFAULT_TIMEOUT;
 
@@ -473,7 +473,7 @@ virNetDevOpenvswitchInterfaceGetMaster(const char *ifname, char **master)
  * @path: the path of the unix socket
  * @ifname: the retrieved name of the interface
  *
- * Retreives the ovs ifname from vhostuser unix socket path.
+ * Retrieves the ovs ifname from vhostuser unix socket path.
  *
  * Returns: 1 if interface is an openvswitch interface,
  *          0 if it is not, but no other error occurred,
index 7bd30ea0f993bf9c17f1a46063400d1888cc86e9..c0a7c3019e3dd7c401e8414c7ec52ac1387284b6 100644 (file)
@@ -515,7 +515,7 @@ virNetDevTapAttachBridge(const char *tapname,
      * the bridge, or if it is smaller than the current MTU of the
      * bridge). If MTU isn't specified for the new device (i.e. 0),
      * we need to set the interface MTU to the current MTU of the
-     * bridge (to avoid inadvertantly changing the bridge's MTU).
+     * bridge (to avoid inadvertently changing the bridge's MTU).
      */
     if (mtu > 0) {
         if (virNetDevSetMTU(tapname, mtu) < 0)
index 486b8e03db503c1a7465c11c2c10f29f9d7ec990..20cb09d878dbad2328ee0e102644a5c0189377b0 100644 (file)
@@ -110,7 +110,7 @@ virQEMUBuildCommandLineJSONArrayNumbered(const char *key,
 
 
 /**
- * This array convertor is for quirky cases where the QMP schema mandates an
+ * This array converter is for quirky cases where the QMP schema mandates an
  * array of objects with only one attribute 'str' which needs to be formatted as
  * repeated key-value pairs without the 'str' being printed:
  *
index 33044da3a1eff3b46400803b41cda95233c7df4c..e44f2ff30c84aa792e90dd2d2c8848125df8e179 100644 (file)
@@ -1412,7 +1412,7 @@ virResctrlAllocGetID(virResctrlAllocPtr alloc)
  *
  *     MB:0=100;1=100
  *
- * which indicates node id 0 has 100 percent bandwith and node id 1
+ * which indicates node id 0 has 100 percent bandwidth and node id 1
  * has 100 percent bandwidth. A trailing semi-colon is not formatted.
  */
 static int
index e69fc51a1e2349112070a6422cba598332bae153..7128cd2db0bab597c900370dd6dd1bb20cdcf71c 100644 (file)
@@ -1002,7 +1002,7 @@ virSysinfoParseOEMStrings(const char *base,
 
         /* If OEM String contains newline, dmidecode escapes it as a dot.
          * If this is the case then run dmidecode again to get raw string.
-         * Unfortunately, we can't dinstinguish betwen dot an new line at
+         * Unfortunately, we can't dinstinguish between dot an new line at
          * this level. */
         if (memchr(cur, '.', eol - cur)) {
             char *str;
index 0d5a54130df82f2430d84a67bacd15e42f418c2d..0ae896f4a3cd0755b3fe6c5ddff763b432496bc0 100644 (file)
@@ -916,7 +916,7 @@ virSystemdActivationNew(virSystemdActivationMap *map,
  *
  * Acquire an object for handling systemd activation.
  * If no activation FDs have been provided the returned object
- * will be NULL, indicating normal sevice setup can be performed
+ * will be NULL, indicating normal service setup can be performed
  * If the returned object is non-NULL then at least one file
  * descriptor will be present. No normal service setup should
  * be performed.
index 71c1a2ecb34527b3a9db44be415d649ff9ea341a..1a3b5a05aa47b1ea7ce05319372fecf9c6ba3383 100644 (file)
@@ -89,7 +89,7 @@ virTPMCreateCancelPath(const char *devpath)
 
 /*
  * executables for the swtpm; to be found on the host along with
- * capabilties bitmap
+ * capabilities bitmap
  */
 static virMutex swtpm_tools_lock = VIR_MUTEX_INITIALIZER;
 static char *swtpm_path;
index 6144714477a944c7f4acfcd50c73d08467aa2f12..8b1fb2ac30a87901708b27d9f552b3270bc52950 100644 (file)
@@ -34,7 +34,7 @@
  * vbox_CAPI_v*.h, or it would cause multiple
  * definitions.
  *
- * You can see the more informations in vbox_api.h
+ * You can see the more information in vbox_api.h
  */
 
 /* Copied definitions from vbox_CAPI_*.h.
index cf273b9a48febe1ae037e4d273477c2c5f11526b..dafbc114f610ec90e91bb7ea6038d0112e6927fb 100644 (file)
@@ -439,7 +439,7 @@ vboxNetworkDefineCreateXML(virConnectPtr conn, const char *xml, bool start)
     VBOX_UTF8_TO_UTF16(networkNameUtf8, &networkNameUtf16);
 
     /* Currently support only one dhcp server per network
-     * with contigious address space from start to end
+     * with contiguous address space from start to end
      */
     addr = ipdef->ranges[0].addr;
     if ((ipdef->nranges >= 1) &&
@@ -834,7 +834,7 @@ static char *vboxNetworkGetXMLDesc(virNetworkPtr network, unsigned int flags)
             gVBoxAPI.UIDHCPServer.GetLowerIP(dhcpServer, &fromIPAddressUtf16);
             gVBoxAPI.UIDHCPServer.GetUpperIP(dhcpServer, &toIPAddressUtf16);
             /* Currently virtualbox supports only one dhcp server per network
-             * with contigious address space from start to end
+             * with contiguous address space from start to end
              */
             addr = ipdef->ranges[0].addr;
             if (vboxSocketParseAddrUtf16(data, ipAddressUtf16,
index 38769559816769cded9aa9ffa0774ac553649653..5c3269b8252bfc72a4ea70eea4888758c70a4a23 100644 (file)
@@ -877,7 +877,7 @@ virVBoxSnapshotConfRemoveSnapshot(virVBoxSnapshotConfMachinePtr machine,
     if (snapshot->nchildren > 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                        _("This snapshot has children, "
-                         "please delete theses snapshots before"));
+                         "please delete these snapshots before"));
         return -1;
     }
 
@@ -1387,7 +1387,7 @@ virVBoxSnapshotConfHardDiskUuidByLocation(virVBoxSnapshotConfMachinePtr machine,
     return hardDisk->uuid;
 }
 
-/*Retreive the whole ancestry of the vboxSnapshotXmlHardDiskPtr whose location is
+/*Retrieve the whole ancestry of the vboxSnapshotXmlHardDiskPtr whose location is
  *'location', and store them in a newly allocated list of vboxSnapshotXmlHardDiskPtr.
  *This list begins with the requested disk, and ends with the farthest ancestor.
  *return array length on success, -1 on failure.*/
index a1a462cc7447eb6c26cc08cd81ad6bb87ac6febc..a8ffd9f148f41caaf64cca718b1985aefdbb48de 100644 (file)
@@ -1556,7 +1556,7 @@ _vrdeServerGetPorts(vboxDriverPtr data, IVRDEServer *VRDEServer,
     char *portUtf8 = NULL;
 
     /* get active (effective) port - available only when VM is running and has
-     * the VBOX extensions installed (without extenstions RDP server
+     * the VBOX extensions installed (without extensions RDP server
      * functionality is disabled)
      */
     port = vboxGetActiveVRDEServerPort(data->vboxSession, machine);
index 23d4c4868ce640df21b2fd043feffcde74233034..d4d66f6768478b7e11a00400173fc290602c4ccf 100644 (file)
@@ -888,7 +888,7 @@ virVMXSCSIDiskNameToControllerAndUnit(const char *name, int *controller, int *un
     *controller = idx / 15;
     *unit = idx % 15;
 
-    /* Skip the controller ifself at unit 7 */
+    /* Skip the controller itself at unit 7 */
     if (*unit >= 7)
         ++(*unit);
 
index 86fa6f8bef29a2e9660e8bf003dab339a9c1ff59..1f9c4c79c040bd2c99bc83626f95042eb07eaadb 100644 (file)
@@ -2628,7 +2628,7 @@ vzDomainSnapshotCreateXML(virDomainPtr domain,
     if (vzEnsureDomainExists(dom) < 0)
         goto cleanup;
 
-    /* snaphot name is ignored, it will be set to auto generated by sdk uuid */
+    /* snapshot name is ignored, it will be set to auto generated by sdk uuid */
     if (prlsdkCreateSnapshot(dom, def->parent.description) < 0)
         goto cleanup;
 
index 9cee6f1fded8cc5cf70af2dd058fc6400daca93a..b5e69b385f483ad378dade776080b7f36b8d14e4 100644 (file)
@@ -2073,7 +2073,7 @@ prlsdkNewStateToEvent(VIRTUAL_MACHINE_STATE domainState,
                       int *lvEventTypeDetails)
 {
     /* We skip all intermediate states here, because
-     * libvirt doesn't have correspoding event types for
+     * libvirt doesn't have corresponding event types for
      * them */
     switch ((int)domainState) {
     case VMS_STOPPED:
@@ -2549,7 +2549,7 @@ prlsdkCheckUnsupportedParams(PRL_HANDLE sdkdom, virDomainDefPtr def)
     /*
      * Though we don't support NUMA configuration at the moment
      * virDomainDefPtr always contain non zero NUMA configuration
-     * So, just make sure this configuration does't differ from auto generated.
+     * So, just make sure this configuration doesn't differ from auto generated.
      */
     if ((virDomainNumatuneGetMode(def->numa, -1, &memMode) == 0 &&
          memMode == VIR_DOMAIN_NUMATUNE_MEM_STRICT) ||