]> xenbits.xensource.com Git - libvirt.git/commitdiff
Various typos and misspellings
authorJán Tomko <jtomko@redhat.com>
Thu, 11 Oct 2012 16:31:20 +0000 (18:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 11 Oct 2012 22:03:43 +0000 (00:03 +0200)
39 files changed:
HACKING
configure.ac
daemon/libvirtd.conf
daemon/stream.c
docs/api.html.in
docs/apibuild.py
docs/apps.html.in
docs/firewall.html.in
docs/formatdomain.html.in
docs/hacking.html.in
docs/internals/locking.html.in
docs/remote.html.in
examples/domain-events/events-python/event-test.py
examples/python/dominfo.py
include/libvirt/libvirt.h.in
src/conf/domain_conf.c
src/conf/nwfilter_conf.c
src/internal.h
src/libvirt.c
src/phyp/phyp_driver.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_conf.c
src/qemu/qemu_monitor_text.c
src/qemu/qemu_process.c
src/rpc/virnetsaslcontext.c
src/rpc/virnettlscontext.c
src/storage/storage_backend_disk.c
src/storage/storage_backend_rbd.c
src/uml/uml_driver.c
src/util/cgroup.c
src/util/logging.c
src/util/processinfo.c
src/util/virpidfile.c
src/util/virsocketaddr.c
src/vbox/vbox_tmpl.c
src/xen/xm_internal.c
src/xenxs/xen_sxpr.c
tests/virnettlscontexttest.c
tools/virsh.pod

diff --git a/HACKING b/HACKING
index d765be933990d341596fc6ae6cc121ae696ce613..90d2a1cb173b20c2c4c1f85bdee0dd35c04e67ca 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -461,7 +461,7 @@ File handling
 =============
 Usage of the "fdopen()", "close()", "fclose()" APIs is deprecated in libvirt
 code base to help avoiding double-closing of files or file descriptors, which
-is particulary dangerous in a multi-threaded applications. Instead of these
+is particularly dangerous in a multi-threaded application. Instead of these
 APIs, use the macros from virfile.h
 
 - Open a file from a file descriptor:
index ee51bb63f6db966174a5ffb82f4da91ba31f1aab..bcdea9ce84b31c80214202f718edfb083f7cbe60 100644 (file)
@@ -1351,7 +1351,7 @@ if test "x$with_avahi" = "xyes" || test "x$with_avahi" = "xcheck"; then
   ])
   if test "x$with_avahi" = "xyes" ; then
     AC_DEFINE_UNQUOTED([HAVE_AVAHI], 1,
-      [whether Avahi is used to broadcast server presense])
+      [whether Avahi is used to broadcast server presence])
   fi
 fi
 AC_SUBST([AVAHI_CFLAGS])
index 3d296cd32f5ab76b2f03b9c1b8432b08e3134b0d..47da5208eb19798e1d1b5942d153200277ba1b1f 100644 (file)
 
 # The minimum limit sets the number of workers to start up
 # initially. If the number of active clients exceeds this,
-# then more threads are spawned, upto max_workers limit.
+# then more threads are spawned, up to max_workers limit.
 # Typically you'd want max_workers to equal maximum number
 # of clients allowed
 #min_workers = 5
 # at least as large as max_workers. Beyond this, RPC requests
 # will be read into memory and queued. This directly impact
 # memory usage, currently each request requires 256 KB of
-# memory. So by default upto 5 MB of memory is used
+# memory. So by default up to 5 MB of memory is used
 #
 # XXX this isn't actually enforced yet, only the per-client
 # limit is used so far
index 58c53a9c536986432226e34eed6af43d07e62359..fa14eeb565e0af6aa43733498331cc7b5157364f 100644 (file)
@@ -689,7 +689,7 @@ daemonStreamHandleWrite(virNetServerClientPtr client,
 
 /*
  * Invoked when a stream is signalled as having data
- * available to read. This reads upto one message
+ * available to read. This reads up to one message
  * worth of data, and then queues that for transmission
  * to the client.
  *
index c8fc2047a3d4996a6566eaded0df0272c5ec1d39..f596aa9fdd6393896d1dc1094ba0c3905f84229a 100644 (file)
     <p> Most kind of object can also be named in various ways:</p>
     <ul>
       <li>by their <code>name</code>, an user friendly identifier but
-      whose unicity cannot be garanteed between two nodes.</li>
+      whose unicity cannot be guaranteed between two nodes.</li>
       <li>by their <code>ID</code>, which is a runtime unique identifier
       provided by the hypervisor for one given activation of the object,
       but it becomes invalid once the resource is deactivated.</li >
       <li>by their <code>UUID</code>, a 16 bytes unique identifier
       as defined in <a href="http://www.ietf.org/rfc/rfc4122.txt">RFC 4122</a>,
-      which is garanteed to be unique for long term usage and across a
+      which is guaranteed to be unique for long term usage and across a
       set of nodes.</li>
     </ul>
 
index ae84be974e2f92d49fa5b8ad013b4cc907709099..e73a85d69b7a1d68e35d37a88effe4cb4705c152 100755 (executable)
@@ -2474,7 +2474,7 @@ class docBuilder:
 
 def rebuild(name):
     if name not in ["libvirt", "libvirt-qemu"]:
-        self.warning("rebuild() failed, unkown module %s") % name
+        self.warning("rebuild() failed, unknown module %s") % name
         return None
     builder = None
     srcdir = os.environ["srcdir"]
index 903b0995d362bad895bf0f6e4dfa32343fbf2ad9..76020d8c4654a7c5a2bb9612983628ede8cae54b 100644 (file)
         A general purpose desktop management tool, able to manage
         virtual machines across both local and remotely accessed
         hypervisors. It is targeted at home and small office usage
-        upto managing 10-20 hosts and their VMs.
+        up to managing 10-20 hosts and their VMs.
       </dd>
       <dt><a href="http://virt-manager.org/">virt-viewer</a></dt>
       <dd>
index 8af3dd3d499ea57b14ec070ebabb59fd0a4e4480..afc8dd3d6b4660f54f4696163f0c58c8a883eab8 100644 (file)
@@ -317,7 +317,7 @@ Bridge chain: PREROUTING, entries: 1, policy: ACCEPT
 
 Bridge chain: POSTROUTING, entries: 1, policy: ACCEPT
 -o vnet0 -j libvirt-O-vnet0</pre>
-    <p>To keep things managable and easy to follow, the driver will then
+    <p>To keep things manageable and easy to follow, the driver will then
        create further sub-chains for each protocol then it needs to match
        against:
     </p>
index a622131837d5856bb832b8f50722a46145fffddc..d664e7e346b586eaeebb89a9c4a96edf8488402f 100644 (file)
        <dd>
          The optional <code>emulatorpin</code> element specifies which of host
          physical CPUs the "emulator", a subset of a domain not including vcpu,
-         will be pinned to. If this is ommitted, "emulator" is pinned to all
+         will be pinned to. If this is omitted, "emulator" is pinned to all
          the physical CPUs by default. It contains one required attribute
          <code>cpuset</code> specifying which physical CPUs to pin to.
        </dd>
index 9de5eb196274991577ec236c6cca82e7ee45b9dd..d41b39c490d4ac6bce8a91f823b17905fa26defd 100644 (file)
@@ -18,7 +18,7 @@
           or:
         </p>
 <pre>
-  git diff > libvirt-myfeature.patch
+  git diff &gt; libvirt-myfeature.patch
 </pre>
         <p>However, the usual workflow of libvirt developer is:</p>
 <pre>
     <p>
       Usage of the <code>fdopen()</code>, <code>close()</code>, <code>fclose()</code>
       APIs is deprecated in libvirt code base to help avoiding double-closing of files
-      or file descriptors, which is particulary dangerous in a multi-threaded
-      applications. Instead of these APIs, use the macros from virfile.h
+      or file descriptors, which is particularly dangerous in a multi-threaded
+      application. Instead of these APIs, use the macros from virfile.h
     </p>
 
    <ul>
index 34e50c7b6ac8f55ab46a7a9c862849a0640a21b6..c50e68f0605ddb98650495ba6e43d0514a04d44f 100644 (file)
     <h2><a name="usagePatterns">Lock usage patterns</a></h2>
 
     <p>
-      The following psuedo code illustrates the common
+      The following pseudo code illustrates the common
       patterns of operations invoked on the lock
       manager plugin callbacks.
     </p>
index 40696b935dbfae29d9345f03e60bbcedfaa87534..fc6af82f45b03fe708e196824357e7226f43d0a9 100644 (file)
@@ -356,7 +356,7 @@ Note that parameter values must be
         </td>
         <td> libssh2 </td>
         <td>
-  Path to the known_hosts file to verify the host key agains. LibSSH2
+  Path to the known_hosts file to verify the host key against. LibSSH2
   supports OpenSSH-style known_hosts files, although it does not support
   all key types, so using files created by the OpenSSH binary may result
   into truncating the known_hosts file. It's recommended to use the default
index 3e314bff3bfc24f2d8a965d0c08eac16875f951d..27e74c456db4ac8886f1be604d03b7bf6681a48f 100644 (file)
@@ -126,7 +126,7 @@ class virEventLoopPure:
         self.poll.register(self.pipetrick[0], select.POLLIN)
 
 
-    # Calculate when the next timeout is due to occurr, returning
+    # Calculate when the next timeout is due to occur, returning
     # the absolute timestamp for the next timeout, or 0 if there is
     # no timeout due
     def next_timeout(self):
@@ -169,7 +169,7 @@ class virEventLoopPure:
     #
     # Due to the coarse granularity of schedular timeslices, if
     # we ask for a sleep of 500ms in order to satisfy a timer, we
-    # may return upto 1 schedular timeslice early. So even though
+    # may return up to 1 schedular timeslice early. So even though
     # our sleep timeout was reached, the registered timer may not
     # technically be at its expiry point. This leads to us going
     # back around the loop with a crazy 5ms sleep. So when checking
index 033fe475a25ad738098adf43d859ff1de2f78b1d..0d3238bc2dc17a977a75c592f21495eb9677abc9 100755 (executable)
@@ -43,7 +43,7 @@ try:
     dom = conn.lookupByName(name)
     # Annoyiingly, libvirt prints its own error message here
 except libvirt.libvirtError:
-    print "Domain %s is not runing" % name
+    print "Domain %s is not running" % name
     sys.exit(0)
 
 info = dom.info()
index b1a3e2525d4e37d8aa2d0d9d0d22967bf27fb11b..a4e8ca9212532c9e594b20de450dd6361aced71b 100644 (file)
@@ -3124,7 +3124,7 @@ typedef enum {
  * virConnectDomainEventCallback:
  * @conn: virConnect connection
  * @dom: The domain on which the event occurred
- * @event: The specfic virDomainEventType which occurred
+ * @event: The specific virDomainEventType which occurred
  * @detail: event specific detail information
  * @opaque: opaque user data
  *
@@ -3417,7 +3417,7 @@ int virStreamRecv(virStreamPtr st,
  *
  * The callback will be invoked multiple times,
  * fetching data in small chunks. The application
- * should fill the 'data' array with upto 'nbytes'
+ * should fill the 'data' array with up to 'nbytes'
  * of data and then return the number actual number
  * of bytes. The callback will continue to be
  * invoked until it indicates the end of the source
@@ -3849,7 +3849,7 @@ typedef void (*virConnectDomainEventWatchdogCallback)(virConnectPtr conn,
 /**
  * virDomainEventIOErrorAction:
  *
- * The action that is to be taken due to an IO error occuring
+ * The action that is to be taken due to an IO error occurring
  */
 typedef enum {
     VIR_DOMAIN_EVENT_IO_ERROR_NONE = 0,  /* No action, IO error ignored */
index 1eda5510fda0654f5315d2b0d73adb56ef823b90..3c3d0aeade65af628b8348010a65047108a5db31 100644 (file)
@@ -4668,7 +4668,7 @@ virDomainActualNetDefParseXML(xmlNodePtr node,
             int m;
             if ((m = virNetDevMacVLanModeTypeFromString(mode)) < 0) {
                 virReportError(VIR_ERR_INTERNAL_ERROR,
-                               _("Unkown mode '%s' in interface <actual> element"),
+                               _("Unknown mode '%s' in interface <actual> element"),
                                mode);
                 goto error;
             }
@@ -5036,7 +5036,7 @@ virDomainNetDefParseXML(virCapsPtr caps,
             int m;
             if ((m = virNetDevMacVLanModeTypeFromString(mode)) < 0) {
                 virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                               _("Unkown mode has been specified"));
+                               _("Unknown mode has been specified"));
                 goto error;
             }
             def->data.direct.mode = m;
@@ -7042,7 +7042,7 @@ virDomainVideoDefaultRAM(virDomainDefPtr def,
                          int type)
 {
     switch (type) {
-        /* Wierd, QEMU defaults to 9 MB ??! */
+        /* Weird, QEMU defaults to 9 MB ??! */
     case VIR_DOMAIN_VIDEO_TYPE_VGA:
     case VIR_DOMAIN_VIDEO_TYPE_CIRRUS:
     case VIR_DOMAIN_VIDEO_TYPE_VMVGA:
index d1d5259f427489b87ebf117503b7662813a97e72..27dbee8b3101b8db3ced82048325575827438120 100644 (file)
@@ -2801,7 +2801,7 @@ _virNWFilterDefLoopDetect(virConnectPtr conn,
  * virNWFilterDefLoopDetect:
  * @conn: pointer to virConnect object
  * @nwfilters : the nwfilters to search
- * @def : the filter definiton that may add a loop and is to be tested
+ * @def : the filter definition that may add a loop and is to be tested
  *
  * Detect a loop introduced through the filters being able to
  * reference each other.
index 77210e533143251c359690f837683caef09d0586..d69bd14893ae780b04b0eb00329df4a98e8c33fd 100644 (file)
 /**
  * ATTRIBUTE_UNUSED:
  *
- * Macro to flag conciously unused parameters to functions
+ * Macro to flag consciously unused parameters to functions
  */
 #  ifndef ATTRIBUTE_UNUSED
 #   define ATTRIBUTE_UNUSED __attribute__((__unused__))
index 76e440163aa1cd024619fb56d9931794ac355bd4..3c6d67d4e3fda47f2c152ccf40f8a3205caa92a0 100644 (file)
@@ -3091,7 +3091,7 @@ error:
  *
  * This call sets up a stream; subsequent use of stream API is necessary
  * to transfer actual data, determine how much data is successfully
- * transfered, and detect any errors.
+ * transferred, and detect any errors.
  *
  * The screen ID is the sequential number of screen. In case of multiple
  * graphics cards, heads are enumerated before devices, e.g. having
@@ -14683,7 +14683,7 @@ error:
  * @cb: callback to the function handling domain events
  *
  * Removes a callback previously registered with the virConnectDomainEventRegister
- * funtion.
+ * function.
  *
  * Use of this method is no longer recommended. Instead applications
  * should try virConnectDomainEventUnregisterAny which has a more flexible
index 733f45542772fe438fce38530c8e8af915cda230..a1724caa9a67830ca300ff72b0137fe3ede17a54 100644 (file)
@@ -2064,7 +2064,7 @@ phypStorageVolCreateXML(virStoragePoolPtr pool,
         goto err;
     }
 
-    /* Information not avaliable */
+    /* Information not available */
     spdef->allocation = 0;
     spdef->available = 0;
 
@@ -2287,7 +2287,7 @@ phypVolumeGetXMLDesc(virStorageVolPtr vol, unsigned int flags)
         goto cleanup;
     }
 
-    /* Information not avaliable */
+    /* Information not available */
     pool.allocation = 0;
     pool.available = 0;
 
@@ -2767,7 +2767,7 @@ phypGetStoragePoolXMLDesc(virStoragePoolPtr pool, unsigned int flags)
         goto err;
     }
 
-    /* Information not avaliable */
+    /* Information not available */
     def.allocation = 0;
     def.available = 0;
 
index 05340ae9b9cc97dea40abd97dd9655af2484211b..fb0fe5454699f2d4bcf450b5219403b6ac04b372 100644 (file)
@@ -607,7 +607,7 @@ qemuCapsInitGuest(virCapsPtr caps,
     qemuCapsPtr kvmbinCaps = NULL;
     int ret = -1;
 
-    /* Check for existance of base emulator, or alternate base
+    /* Check for existence of base emulator, or alternate base
      * which can be used with magic cpu choice
      */
     binary = qemuCapsFindBinaryForArch(hostarch, guestarch);
index 9a2c39be2990eaea8b26fc7be30fd3735e446520..8f3922f5d666d4938ca559e3fc6f192722a6fef0 100644 (file)
@@ -203,7 +203,7 @@ int qemudLoadDriverConfig(struct qemud_driver *driver,
         size_t len;
         virConfValuePtr pp;
 
-        /* Calc lenght and check items */
+        /* Calc length and check items */
         for (len = 0, pp = p->list; pp; len++, pp = pp->next) {
             if (pp->type != VIR_CONF_STRING) {
                 VIR_ERROR(_("security_driver be a list of strings"));
index 7f5c3e37558af5543ada69e67a5db594e35b8bb0..09f2a921ebb03e7a4122f2b5ff24c451d1e238ea 100644 (file)
@@ -2291,7 +2291,7 @@ int qemuMonitorTextGetPtyPaths(qemuMonitorPtr mon,
         if (!needle)
             continue;
 
-        /* id is everthing from the beginning of the line to the ':'
+        /* id is everything from the beginning of the line to the ':'
          * find ':' and turn it into a terminator */
         char *colon = memchr(pos, ':', needle - pos);
         if (colon == NULL)
index 3bec799530d5904422e5070498149b1a8eed00f8..f8a2bfdebda113691fde2e54b1d3364cf0306509 100644 (file)
@@ -2599,7 +2599,7 @@ static int qemuProcessHook(void *data)
     if (virDomainLockProcessStart(h->driver->lockManager,
                                   h->driver->uri,
                                   h->vm,
-                                  /* QEMU is always pased initially */
+                                  /* QEMU is always paused initially */
                                   true,
                                   &fd) < 0)
         goto cleanup;
index e65ff6fa82538e4637c4d2159882d74c1619f8bb..7ed1e39275f45dd2662977dfba3f0fe26a8f95d7 100644 (file)
@@ -150,7 +150,7 @@ int virNetSASLContextCheckIdentity(virNetSASLContextPtr ctxt,
         int rv = fnmatch (*wildcards, identity, 0);
         if (rv == 0) {
             ret = 1;
-            goto cleanup; /* Succesful match */
+            goto cleanup; /* Successful match */
         }
         if (rv != FNM_NOMATCH) {
             virReportError(VIR_ERR_INTERNAL_ERROR,
index 9769969bc5f01f67253cac4ca661b65a5ab9bfaf..0c89a545dd10cf9ea3d1b9a898d3b2d033e1e6e8 100644 (file)
@@ -374,7 +374,7 @@ virNetTLSContextCheckCertDNWhitelist(const char *dname,
 {
     while (*wildcards) {
         int ret = fnmatch (*wildcards, dname, 0);
-        if (ret == 0) /* Succesful match */
+        if (ret == 0) /* Successful match */
             return 1;
         if (ret != FNM_NOMATCH) {
             virReportError(VIR_ERR_INTERNAL_ERROR,
index ceceab06f90f80703d53c3f30145913c129c3272..5d9e72f8685ad5830646f4e9109b8ceef64cf149 100644 (file)
@@ -533,9 +533,9 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
 }
 
 /**
- * Aligns a new partition to nearest cylinder boundry
+ * Aligns a new partition to nearest cylinder boundary
  * when having a msdos partition table type
- * to avoid any problem with already existing
+ * to avoid any problem with already existing
  * partitions
  */
 static int
@@ -558,7 +558,7 @@ virStorageBackendDiskPartBoundries(virStoragePoolObjPtr pool,
     int partType = virStorageBackendDiskPartTypeToCreate(pool);
 
     /* how many extra bytes we have since we allocate
-       aligned to the cylinder boundry */
+       aligned to the cylinder boundary */
     extraBytes = cylinderSize - (allocation % cylinderSize);
 
     for (i = 0 ; i < dev->nfreeExtent ; i++) {
@@ -568,7 +568,7 @@ virStorageBackendDiskPartBoundries(virStoragePoolObjPtr pool,
          unsigned long long neededSize = allocation;
 
          if (pool->def->source.format == VIR_STORAGE_POOL_DISK_DOS) {
-             /* align to cylinder boundry */
+             /* align to cylinder boundary */
              neededSize += extraBytes;
              if ((*start % cylinderSize) > extraBytes) {
                  /* add an extra cylinder if the offset can't fit within
@@ -617,7 +617,7 @@ virStorageBackendDiskPartBoundries(virStoragePoolObjPtr pool,
 
     *end = *start + alignedAllocation;
     if (pool->def->source.format == VIR_STORAGE_POOL_DISK_DOS) {
-        /* adjust our allocation if start is not at a cylinder boundry */
+        /* adjust our allocation if start is not at a cylinder boundary */
         *end -= (*start % cylinderSize);
     }
 
index 767892f0eb1dd36730a3bef50097c735c5e6bd2d..0c9bdccea4cc88625cf5dc235e061a30a1f60d29 100644 (file)
@@ -315,7 +315,7 @@ static int virStorageBackendRBDRefreshPool(virConnectPtr conn ATTRIBUTE_UNUSED,
         if (len >= 0)
             break;
         if (len != -ERANGE) {
-            VIR_WARN("%s", _("A problem occured while listing RBD images"));
+            VIR_WARN("%s", _("A problem occurred while listing RBD images"));
             goto cleanup;
         }
     }
index c341fabeb9f6c96494f68f4f3ac3d517585d4f8c..ba37eb715e844421f5cebc0aea1f167897236892 100644 (file)
@@ -258,7 +258,7 @@ requery:
         }
     } else if (!res || STRPREFIX(res, "pts")) {
         /* It can take a while to startup, so retry for
-           upto 5 seconds */
+           up to 5 seconds */
         /* XXX should do this in a better non-blocking
            way somehow ...perhaps register a timer */
         if (retries++ < 50) {
index 0825801c06042dec2c225bf5173e3cb488136ce4..3f7b5f7c334a5f2d8195fba7df9aa808f9d343b2 100644 (file)
@@ -169,7 +169,7 @@ no_memory:
 /*
  * Process /proc/self/cgroup figuring out what cgroup
  * sub-path the current process is assigned to. ie not
- * neccessarily in the root
+ * necessarily in the root
  */
 static int virCgroupDetectPlacement(virCgroupPtr group)
 {
@@ -2026,7 +2026,7 @@ int virCgroupKillPainfully(virCgroupPtr group)
         else if (i == 8)
             signum = SIGKILL;
         else
-            signum = 0; /* Just check for existance */
+            signum = 0; /* Just check for existence */
 
         rc = virCgroupKillRecursive(group, signum);
         VIR_DEBUG("Iteration %d rc=%d", i, rc);
index 246f12cf0b839f0d55342134f3c6da74dd2d9614..9a8bba119ae4c3f9c4b71f0424fe5f87211caecd 100644 (file)
@@ -1081,7 +1081,7 @@ virLogOutputToJournald(virLogSource source,
     char priostr[INT_BUFSIZE_BOUND(priority)];
     char linestr[INT_BUFSIZE_BOUND(linenr)];
 
-    /* First message takes upto 4 iovecs, and each
+    /* First message takes up to 4 iovecs, and each
      * other field needs 3, assuming they don't have
      * newlines in them
      */
@@ -1090,7 +1090,7 @@ virLogOutputToJournald(virLogSource source,
 
     if (strchr(rawstr, '\n')) {
         uint64_t nstr;
-        /* If 'str' containes a newline, then we must
+        /* If 'str' contains a newline, then we must
          * encode the string length, since we can't
          * rely on the newline for the field separator
          */
index d4f8f4b672b98bada24d20fe6562574c5c6cbc1b..c3648d4b07e3760411803540362207eba60a38fc 100644 (file)
@@ -77,7 +77,7 @@ realloc:
     }
     CPU_FREE(mask);
 # else
-    /* Legacy method uses a fixed size cpu mask, only allows upto 1024 cpus */
+    /* Legacy method uses a fixed size cpu mask, only allows up to 1024 cpus */
     cpu_set_t mask;
 
     CPU_ZERO(&mask);
@@ -149,7 +149,7 @@ realloc:
             ignore_value(virBitmapSetBit(*map, i));
     CPU_FREE(mask);
 # else
-    /* Legacy method uses a fixed size cpu mask, only allows upto 1024 cpus */
+    /* Legacy method uses a fixed size cpu mask, only allows up to 1024 cpus */
     cpu_set_t mask;
 
     CPU_ZERO(&mask);
index e8434c1b8858ff8b035e71281a782ff54f6e194f..c2a087dcad61c69081673681b93947959a180aa0 100644 (file)
@@ -366,7 +366,7 @@ int virPidFileAcquirePath(const char *path,
             VIR_DEBUG("Pid file '%s' disappeared: %s",
                       path, virStrerror(errno, ebuf, sizeof(ebuf)));
             VIR_FORCE_CLOSE(fd);
-            /* Someone else must be racing with us, so try agin */
+            /* Someone else must be racing with us, so try again */
             continue;
         }
 
@@ -375,7 +375,7 @@ int virPidFileAcquirePath(const char *path,
 
         VIR_DEBUG("Pid file '%s' was recreated", path);
         VIR_FORCE_CLOSE(fd);
-        /* Someone else must be racing with us, so try agin */
+        /* Someone else must be racing with us, so try again */
     }
 
     snprintf(pidstr, sizeof(pidstr), "%lld", (long long) pid);
index 7f49b402102e0c0078c5eec62fcd6a4165a4de57..e9ebac837c59cb901c0e2364a8919384e732f8cd 100644 (file)
@@ -418,7 +418,7 @@ virSocketAddrMaskByPrefix(const virSocketAddrPtr addr,
  * virSocketAddrBroadcast:
  * @addr: address that needs to be turned into broadcast address (IPv4 only)
  * @netmask: the netmask address
- * @broadcast: virSocketAddr to recieve the broadcast address
+ * @broadcast: virSocketAddr to receive the broadcast address
  *
  * Mask ON the host bits of @addr according to @netmask, turning it
  * into a broadcast address.
@@ -448,7 +448,7 @@ virSocketAddrBroadcast(const virSocketAddrPtr addr,
  * virSocketAddrBroadcastByPrefix:
  * @addr: address that needs to be turned into broadcast address (IPv4 only)
  * @prefix: prefix (# of 1 bits) of netmask to apply
- * @broadcast: virSocketAddr to recieve the broadcast address
+ * @broadcast: virSocketAddr to receive the broadcast address
  *
  * Mask off the host bits of @addr according to @prefix, turning it
  * into a network address.
index 29b776d304138d33b41f7fbec5a702a1c708466d..0eeac85c9c21c661f332cce4973a05bc7bdbbb87 100644 (file)
@@ -7049,7 +7049,7 @@ vboxCallbackOnMachineRegistered(IVirtualBoxCallback *pThis ATTRIBUTE_UNUSED,
             virDomainEventPtr ev;
 
             /* CURRENT LIMITATION: we never get the VIR_DOMAIN_EVENT_UNDEFINED
-             * event becuase the when the machine is de-registered the call
+             * event because the when the machine is de-registered the call
              * to vboxDomainLookupByUUID fails and thus we don't get any
              * dom pointer which is necessary (null dom pointer doesn't work)
              * to show the VIR_DOMAIN_EVENT_UNDEFINED event
@@ -8747,7 +8747,7 @@ static int vboxStorageVolDelete(virStorageVolPtr vol,
              * is no 128bit width simple item type for a SafeArray to fit a
              * GUID in. The largest simple type it 64bit width and VirtualBox
              * uses two of this 64bit items to represents one GUID. Therefore,
-             * we devide the size of the SafeArray by two, to compensate for
+             * we divide the size of the SafeArray by two, to compensate for
              * this workaround in VirtualBox */
             machineIds.count /= 2;
 #endif /* VBOX_API_VERSION >= 2002 */
index 591155400a249b2e64db5ccd6d52942f07b94a98..7b3d340f13877a27e6151a837072c5f0efa43c2f 100644 (file)
@@ -174,7 +174,7 @@ xenXMConfigSaveFile(virConnectPtr conn, const char *filename, virDomainDefPtr de
 
 /*
  * Caller must hold the lock on 'conn->privateData' before
- * calling this funtion
+ * calling this function
  */
 int
 xenXMConfigCacheRemoveFile(virConnectPtr conn,
@@ -198,7 +198,7 @@ xenXMConfigCacheRemoveFile(virConnectPtr conn,
 
 /*
  * Caller must hold the lock on 'conn->privateData' before
- * calling this funtion
+ * calling this function
  */
 int
 xenXMConfigCacheAddFile(virConnectPtr conn, const char *filename)
@@ -307,7 +307,7 @@ xenXMConfigCacheAddFile(virConnectPtr conn, const char *filename)
  * once every X seconds
  *
  * Caller must hold the lock on 'conn->privateData' before
- * calling this funtion
+ * calling this function
  */
 int xenXMConfigCacheRefresh (virConnectPtr conn) {
     xenUnifiedPrivatePtr priv = conn->privateData;
@@ -383,7 +383,7 @@ int xenXMConfigCacheRefresh (virConnectPtr conn) {
         /* If we already have a matching entry and it is not
            modified, then carry on to next one*/
         if (xenXMConfigCacheAddFile(conn, path) < 0) {
-            /* Ignoring errors, since alot of stuff goes wrong in /etc/xen */
+            /* Ignoring errors, since a lot of stuff goes wrong in /etc/xen */
         }
 
         VIR_FREE(path);
index df92702d6588c1da4fb2b50bebbaba6871fe0410..6ac7dffda8150edfe91232194e95a3cbb901ff22 100644 (file)
@@ -811,7 +811,7 @@ xenParseSxprGraphicsOld(virDomainDefPtr def,
         /* For Xen >= 3.0.3, don't generate a fixed port mapping
          * because it will almost certainly be wrong ! Just leave
          * it as -1 which lets caller see that the VNC server isn't
-         * present yet. Subsquent dumps of the XML will eventually
+         * present yet. Subsequent dumps of the XML will eventually
          * find the port in XenStore once VNC server has started
          */
         if (port == -1 && xendConfigVersion < XEND_CONFIG_VERSION_3_0_3)
index 80204b65783b9d5c5015e8341d2b1be3a0231327..cc260e0980a184894d2e3d1143eb4d355df32c96 100644 (file)
@@ -448,7 +448,7 @@ struct testTLSContextData {
  * This code is done when libvirtd starts up, or before
  * a libvirt client connects. The test is ensuring that
  * the creation of virNetTLSContextPtr fails if we
- * give bogus certs, or suceeds for good certs
+ * give bogus certs, or succeeds for good certs
  */
 static int testTLSContextInit(const void *opaque)
 {
index ea5060c848065edcb48c8bfd734112fbf2a79dd7..2d90b7bdecad8dd6ed6ac445cbb03197c88fb013 100644 (file)
@@ -129,7 +129,7 @@ Several B<virsh> commands take an optionally scaled integer; if no
 scale is provided, then the default is listed in the command (for
 historical reasons, some commands default to bytes, while other
 commands default to kibibytes).  The following case-insensitive
-suffixes can be used to select a specfic scale:
+suffixes can be used to select a specific scale:
   b, byte  byte      1
   KB       kilobyte  1,000
   k, KiB   kibibyte  1,024
@@ -607,7 +607,7 @@ Availability of these fields depends on hypervisor. Unsupported fields are
 missing from the output. Other fields may appear if communicating with a newer
 version of libvirtd.
 
-B<Explanation of fields> (fields appear in the folowing order):
+B<Explanation of fields> (fields appear in the following order):
   rd_req            - count of read operations
   rd_bytes          - count of read bytes
   wr_req            - count of write operations
@@ -2406,7 +2406,7 @@ is in.
 I<vol-name-or-key-or-path> is the name or key or path of the volume to wipe.
 I<--offset> is the position in the storage volume at which to start writing
 the data. I<--length> is an upper bound of the amount of data to be uploaded.
-An error will occurr if the I<local-file> is greater than the specified length.
+An error will occur if the I<local-file> is greater than the specified length.
 
 =item B<vol-download> [I<--pool> I<pool-or-uuid>] [I<--offset> I<bytes>]
 [I<--length> I<bytes>] I<vol-name-or-key-or-path> I<local-file>
@@ -2654,7 +2654,7 @@ this flag is in use, the command can also take additional I<diskspec>
 arguments to add <disk> elements to the xml.  Each <diskspec> is in the
 form B<disk[,snapshot=type][,driver=type][,file=name]>.  To include a
 literal comma in B<disk> or in B<file=name>, escape it with a second
-comma.  A literal I<--diskspec> must preceed each B<diskspec> unless
+comma.  A literal I<--diskspec> must precede each B<diskspec> unless
 all three of I<domain>, I<name>, and I<description> are also present.
 For example, a diskspec of "vda,snapshot=external,file=/path/to,,new"
 results in the following XML: