]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix minor typos
authorYuri Chornoivan <yurchor@ukr.net>
Sat, 22 Apr 2017 19:06:20 +0000 (22:06 +0300)
committerErik Skultety <eskultet@redhat.com>
Mon, 24 Apr 2017 12:40:00 +0000 (14:40 +0200)
docs/formatcaps.html.in
docs/formatdomain.html.in
src/conf/domain_conf.c
src/qemu/qemu_agent.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_interface.c
src/qemu/qemu_monitor_json.c

index 57201b5f8a732c3da13740b1a6ca7bc611ad9fc2..bc4511c66923244e61ffafcf6b21b5584d6713f6 100644 (file)
@@ -21,7 +21,7 @@
     command line tool command '<code>capabilities</code>', it dumps the XML
     associated to the current connection. </p>
 
-    <p>As can be seen seen in the <a href="#elementExamples">example</a>, the
+    <p>As can be seen in the <a href="#elementExamples">example</a>, the
     capabilities XML consists of the <code>capabilities</code> element which
     have exactly one <code>host</code> child element to report information on
     host capabilities, and zero or more <code>guest</code> element to express
index 9bea3bc0eefb4a36de0ffd367068a4e5a9c4f6cd..e31a271a5824763c5bd95cdb75c92f1537596af6 100644 (file)
 
         <code>order</code> allows to specify the order to add the online vcpus.
         For hypervisors/platforms that require to insert multiple vcpus at once
-        the order may be be duplicated accross all vcpus that need to be
+        the order may be duplicated accross all vcpus that need to be
         enabled at once. Specifying order is not necessary, vcpus are then
         added in an arbitrary order. If order info is used, it must be used for
         all online vcpus. Hypervisors may clear or update ordering information
index 7d3cf178eaf65e16730bcac7a99f21af35731f53..fe9b7c72736cc15f4a40459d5a827bfb70dff90a 100644 (file)
@@ -13993,7 +13993,7 @@ virDomainMemorySourceDefParseXML(xmlNodePtr node,
     case VIR_DOMAIN_MEMORY_MODEL_NVDIMM:
         if (!(def->nvdimmPath = virXPathString("string(./path)", ctxt))) {
             virReportError(VIR_ERR_XML_DETAIL, "%s",
-                           _("path is required for model nvdimm'"));
+                           _("path is required for model 'nvdimm'"));
             goto cleanup;
         }
         break;
index 46cad5366f3436794452077ccd7f5183a936f5d8..5d125c4138c7627cba5c88c2bffa3d5e02b78381 100644 (file)
@@ -872,7 +872,7 @@ void qemuAgentClose(qemuAgentPtr mon)
  * VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCK(-2), this function will block forever
  * waiting for the result. The value of
  * VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT(-1) means use default timeout value
- * and VIR_DOMAIN_QEMU_AGENT_COMMAND_NOWAIT(0) makes this this function return
+ * and VIR_DOMAIN_QEMU_AGENT_COMMAND_NOWAIT(0) makes this function return
  * immediately without waiting. Any positive value means the number of seconds
  * to wait for the result.
  *
index b2e76ca3735edbe76fd3361bc1d6b925b1bb8e5f..1116d2cd5b03d7669ee650d789684ef41fde99eb 100644 (file)
@@ -1843,7 +1843,7 @@ qemuBuildDriveStr(virDomainDiskDefPtr disk,
         if (disk->error_policy == VIR_DOMAIN_DISK_ERROR_POLICY_ENOSPACE) {
             /* in the case of enospace, the option is spelled
              * differently in qemu, and it's only valid for werror,
-             * not for rerror, so leave leave rerror NULL.
+             * not for rerror, so leave rerror NULL.
              */
             wpolicy = "enospc";
         } else if (!rpolicy) {
@@ -7242,7 +7242,7 @@ qemuBuildMachineCommandLine(virCommandPtr cmd,
         for (i = 0; i < def->nmems; i++) {
             if (def->mems[i]->model == VIR_DOMAIN_MEMORY_MODEL_NVDIMM) {
                 virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                               _("nvdimm not is not available "
+                               _("nvdimm is not available "
                                  "with this QEMU binary"));
                 return -1;
             }
index d906fe6fdd4f7ca74f5261b46af14a10fedd4421..00b0b4ac42306021a9ec56f29ae9c08cc4e8de19 100644 (file)
@@ -8717,7 +8717,7 @@ qemuDomainGetStorageSourceByDevstr(const char *devstr,
 
     if (!disk) {
         virReportError(VIR_ERR_INVALID_ARG,
-                       _("failed to find disk '%s"), target);
+                       _("failed to find disk '%s'"), target);
         goto cleanup;
     }
 
index 2057ac9293f2159742898dbc248b99f9d42567c5..d0850c0dc8627213039ca376e57acd80dfbc22c9 100644 (file)
@@ -555,7 +555,7 @@ qemuInterfaceBridgeConnect(virDomainDefPtr def,
             /* libvirt is managing the FDB of the bridge this device
              * is attaching to, so we need to turn off learning and
              * unicast_flood on the device to prevent the kernel from
-             * adding any FDB entries for it. We will add add an fdb
+             * adding any FDB entries for it. We will add an fdb
              * entry ourselves (during qemuInterfaceStartDevices(),
              * using the MAC address from the interface config.
              */
index aeb777d37c129f96d019d27ad67a256bcbc07d46..98e3c53f59574211696ccd518633dc6c9aa577ae 100644 (file)
@@ -1466,7 +1466,7 @@ qemuMonitorJSONExtractCPUInfo(virJSONValuePtr data,
  * extract results does not produce an error as libvirt can continue without
  * this information.
  *
- * Returns 0 on success success, -1 on a fatal error (oom ...) and -2 if the
+ * Returns 0 on success, -1 on a fatal error (oom ...) and -2 if the
  * query failed gracefully.
  */
 int