]> git.proxmox.com Git - mirror_qemu.git/commitdiff
contrib/: fix some comment spelling errors
authorzhaolichang <zhaolichang@huawei.com>
Thu, 17 Sep 2020 07:50:29 +0000 (15:50 +0800)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 17 Sep 2020 18:41:44 +0000 (20:41 +0200)
I found that there are many spelling errors in the comments of qemu,
so I used the spellcheck tool to check the spelling errors
and finally found some spelling errors in the contrib folder.

Signed-off-by: zhaolichang <zhaolichang@huawei.com>
Reviewed-by: Alex Bennee <alex.bennee@linaro.org>
Message-Id: <20200917075029.313-11-zhaolichang@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
contrib/gitdm/filetypes.txt
contrib/ivshmem-client/ivshmem-client.h
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h

index 9e9c50520550af22239e349c3d0a6d63c185dbce..d2d6f6db8d5e7ba991bee380bf8f0e5e995ae5da 100644 (file)
@@ -22,7 +22,7 @@
 # in the gitdm sample-config directory.
 #
 # This file contains associations parameters regarding filetypes
-# (documentation, develompent, multimedia, images...)
+# (documentation, development, multimedia, images...)
 #
 # format:
 # filetype <type> <regex> [<comment>]
@@ -59,8 +59,8 @@ filetype code \.s$    # Assembly
 filetype code \.S$     # Assembly
 filetype code \.asm$   # Assembly
 filetype code \.awk$   # awk
-filetype code ^common$  # script fragements
-filetype code ^common.*$  # script fragements
+filetype code ^common$  # script fragments
+filetype code ^common.*$  # script fragments
 filetype code (qom|qmp)-\w+$  # python script fragments
 
 #
index fe3cc4a03d3358a1b256c3ef944d9c50fabd602c..fc45a38060f03ab9d71a519aa8ac06a142c5cb47 100644 (file)
@@ -174,7 +174,7 @@ int ivshmem_client_notify_all_vects(const IvshmemClient *client,
                                     const IvshmemClientPeer *peer);
 
 /**
- * Broadcat a notification to all vectors of all peers
+ * Broadcast a notification to all vectors of all peers
  *
  * @client: The ivshmem client
  *
index 53f16bdf082c758e795859b71d2263751ae6b3c0..9d30ff2283c48b9408d2cae03bd0aa3fa16b967f 100644 (file)
@@ -684,7 +684,7 @@ vu_add_mem_reg(VuDev *dev, VhostUserMsg *vmsg) {
 
     /*
      * If we are in postcopy mode and we receive a u64 payload with a 0 value
-     * we know all the postcopy client bases have been recieved, and we
+     * we know all the postcopy client bases have been received, and we
      * should start generating faults.
      */
     if (track_ramblocks &&
@@ -973,7 +973,7 @@ vu_set_mem_table_exec(VuDev *dev, VhostUserMsg *vmsg)
     for (i = 0; i < dev->max_queues; i++) {
         if (dev->vq[i].vring.desc) {
             if (map_ring(dev, &dev->vq[i])) {
-                vu_panic(dev, "remaping queue %d during setmemtable", i);
+                vu_panic(dev, "remapping queue %d during setmemtable", i);
             }
         }
     }
index 844c37c6489968a49e31cdaf81a54f00436ab782..287ac5fec7f1dd8b86e13510249a354e6b29113a 100644 (file)
@@ -424,7 +424,7 @@ typedef struct VuVirtqElement {
  * @remove_watch: a remove_watch callback
  * @iface: a VuDevIface structure with vhost-user device callbacks
  *
- * Intializes a VuDev vhost-user context.
+ * Initializes a VuDev vhost-user context.
  *
  * Returns: true on success, false on failure.
  **/