]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Fix spelling in comments, documentation and messages
authorStefan Weil <sw@weilnetz.de>
Fri, 9 Dec 2011 23:19:46 +0000 (00:19 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 14 Dec 2011 11:09:44 +0000 (11:09 +0000)
accidently->accidentally
annother->another
choosen->chosen
consideres->considers
decriptor->descriptor
developement->development
paramter->parameter
preceed->precede
preceeding->preceding
priviledge->privilege
propogation->propagation
substraction->subtraction
throught->through
upto->up to
usefull->useful

Fix also grammar in posix-aio-compat.c

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
17 files changed:
Changelog
audio/audio.c
block.h
bsd-user/x86_64/syscall.h
gdbstub.c
linux-user/x86_64/syscall.h
pc-bios/ohw.diff
pc-bios/optionrom/multiboot.S
posix-aio-compat.c
qapi-schema-guest.json
qemu-options.hx
qerror.c
scripts/checkpatch.pl
target-mips/helper.c
target-s390x/cpu.h
ui/vnc-enc-zywrle-template.c
ui/vnc-enc-zywrle.h

index 28a69afa0b7f136b48b474c3b846ee6da53c5c2c..8b63258937b1124238c700a144b14614f20165c1 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -78,7 +78,7 @@ version 0.10.2:
 
   - fix savevm/loadvm (Anthony Liguori)
   - live migration: fix dirty tracking windows (Glauber Costa)
-  - live migration: improve error propogation (Glauber Costa)
+  - live migration: improve error propagation (Glauber Costa)
   - qcow2: fix image creation for > ~2TB images (Chris Wright)
   - hotplug: fix error handling for if= parameter (Eduardo Habkost)
   - qcow2: fix data corruption (Nolan Leake)
@@ -386,7 +386,7 @@ version 0.5.3:
   - support of CD-ROM change
   - multiple network interface support
   - initial x86-64 host support (Gwenole Beauchesne)
-  - lret to outer priviledge fix (OS/2 install fix)
+  - lret to outer privilege fix (OS/2 install fix)
   - task switch fixes (SkyOS boot)
   - VM save/restore commands
   - new timer API
index 50d0d7183f4107d849603d855c0f48b455ca17da..5fff6de966953067e6b824261e74baadf8b57c7f 100644 (file)
@@ -1665,7 +1665,7 @@ static void audio_pp_nb_voices (const char *typ, int nb)
         printf ("Theoretically supports many %s voices\n", typ);
         break;
     default:
-        printf ("Theoretically supports upto %d %s voices\n", nb, typ);
+        printf ("Theoretically supports up to %d %s voices\n", nb, typ);
         break;
     }
 
diff --git a/block.h b/block.h
index 1790f9988c98a507e61d44d6c3294fa8afc3fae9..0e3ff9f2334afad7ab75531112f8a562c9cab922 100644 (file)
--- a/block.h
+++ b/block.h
@@ -21,7 +21,7 @@ typedef struct QEMUSnapshotInfo {
     char id_str[128]; /* unique snapshot id */
     /* the following fields are informative. They are not needed for
        the consistency of the snapshot */
-    char name[256]; /* user choosen name */
+    char name[256]; /* user chosen name */
     uint32_t vm_state_size; /* VM state info size */
     uint32_t date_sec; /* UTC date of the snapshot */
     uint32_t date_nsec;
index 5f71b7cdcf9c564bfca0d7d9c3c049305cba73a3..630514a93011c090d0ec970c55f4aa6a8ef3ec77 100644 (file)
@@ -8,7 +8,7 @@ struct target_pt_regs {
        abi_ulong r12;
        abi_ulong rbp;
        abi_ulong rbx;
-/* arguments: non interrupts/non tracing syscalls only save upto here*/
+/* arguments: non interrupts/non tracing syscalls only save up to here */
        abi_ulong r11;
        abi_ulong r10;
        abi_ulong r9;
index 640cf4ee2add8931a7d465a0252d9bf9da0f5745..a5806ef6c490a903dc56f39a3491bd88e93dc0fe 100644 (file)
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2678,7 +2678,7 @@ gdb_handlesig (CPUState *env, int sig)
         }
       else if (n == 0 || errno != EAGAIN)
         {
-          /* XXX: Connection closed.  Should probably wait for annother
+          /* XXX: Connection closed.  Should probably wait for another
              connection before continuing.  */
           return sig;
         }
index 2a8d696bf23e19c4fc798fac0127e40a0985228d..81314cfae616091829cee1a00d2f2e74b2e19ba8 100644 (file)
@@ -8,7 +8,7 @@ struct target_pt_regs {
        abi_ulong r12;
        abi_ulong rbp;
        abi_ulong rbx;
-/* arguments: non interrupts/non tracing syscalls only save upto here*/
+/* arguments: non interrupts/non tracing syscalls only save up to here */
        abi_ulong r11;
        abi_ulong r10;
        abi_ulong r9;
index 4fb542274df95674bb62780cd3641839a5b74cc3..c6b6623f2fe8712270a23bd2264b53a4ca3608d0 100644 (file)
@@ -1065,7 +1065,7 @@ diff -wruN --exclude '*~' --exclude '*.o' --exclude '*.bin' --exclude '*.out' --
 +                        tab, 4 * sizeof(uint32_t));
 +    }
 +#if 0
-     /* escc is usefull to get MacOS X debug messages */
+     /* escc is useful to get MacOS X debug messages */
      {
          OF_regprop_t regs[8];
 @@ -2645,85 +2843,12 @@
index cc5ca1b7d178254afef18ce324942f155bbaac24..f08222a3c61d9dc4cddbb39c0d7fe33b3f03bb3a 100644 (file)
@@ -50,7 +50,7 @@ run_multiboot:
        shr             $0x4, %ecx
        mov             %cx, %gs
 
-       /* now push the indirect jump decriptor there */
+       /* now push the indirect jump descriptor there */
        mov             (prot_jump), %ebx
        add             %eax, %ebx
        movl            %ebx, %gs:GS_PROT_JUMP
index 0c0035cb18b21a6ab8070fb0b3608f1a26e8eb22..c380ec148cab9dbad48bf06aebc353f348bc7511 100644 (file)
@@ -128,8 +128,8 @@ static ssize_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb)
         return -errno;
 
     /*
-     * This looks weird, but the aio code only consideres a request
-     * successful if it has written the number full number of bytes.
+     * This looks weird, but the aio code only considers a request
+     * successful if it has written the full number of bytes.
      *
      * Now we overload aio_nbytes as aio_ioctl_cmd for the ioctl command,
      * so in fact we return the ioctl command here to make posix_aio_read()
index fde5971e87c2774db948090dfe48d72a4442bbff..f4bcd1a532b293c5a03f2a4603e45722df0202e8 100644 (file)
@@ -13,7 +13,7 @@
 # partially-delivered JSON text in such a way that this response
 # can be obtained.
 #
-# Such clients should also preceed this command
+# Such clients should also precede this command
 # with a 0xFF byte to make such the guest agent flushes any
 # partially read JSON data from a previous session.
 #
index b3db10c0ad196b4cdf3d6c10d7c2274170cc0add..087a3b9376f840de8b8968acaeec0fe86482c169 100644 (file)
@@ -217,7 +217,7 @@ qcow2.  If performance is more important than correctness,
 In case you don't care about data integrity over host failures, use
 cache=unsafe. This option tells qemu that it never needs to write any data
 to the disk but can instead keeps things in cache. If anything goes wrong,
-like your host losing power, the disk storage getting disconnected accidently,
+like your host losing power, the disk storage getting disconnected accidentally,
 etc. you're image will most probably be rendered unusable.   When using
 the @option{-snapshot} option, unsafe caching is always used.
 
index 656efc2cf0403e38bdd23d61b032c42ab60b9709..d9ab3969d26c51459937d5fa339fd6ee4620a940 100644 (file)
--- a/qerror.c
+++ b/qerror.c
@@ -253,7 +253,7 @@ static const QErrorStringTable qerror_table[] = {
     },
     {
         .error_fmt = QERR_INVALID_PARAMETER_COMBINATION,
-        .desc      = "Invalid paramter combination",
+        .desc      = "Invalid parameter combination",
     },
     {}
 };
index cce8f862514477ebfe5d273eb88cc170969d19c5..8850a5f436dbca0f5139c38c0238c5ab63a1dc7c 100755 (executable)
@@ -1907,7 +1907,7 @@ sub process {
                        my $ok = 0;
                        for (my $ln = $linenr - 1; $ln >= $first_line; $ln--) {
                                #print "CHECK<$lines[$ln - 1]\n";
-                               # we have a preceeding printk if it ends
+                               # we have a preceding printk if it ends
                                # with "\n" ignore it, else it is to blame
                                if ($lines[$ln - 1] =~ m{\bprintk\(}) {
                                        if ($rawlines[$ln - 1] !~ m{\\n"}) {
@@ -1999,7 +1999,7 @@ sub process {
                        for (my $n = 0; $n < $#elements; $n += 2) {
                                $off += length($elements[$n]);
 
-                               # Pick up the preceeding and succeeding characters.
+                               # Pick up the preceding and succeeding characters.
                                my $ca = substr($opline, 0, $off);
                                my $cc = '';
                                if (length($opline) >= ($off + length($elements[$n + 1]))) {
index 1c58e0cc210088f8275ddcaa3fc0d4916e548e94..722561695c32232a10f3d4d512d3d382bd2b1975 100644 (file)
@@ -497,7 +497,7 @@ void do_interrupt (CPUState *env)
                 }
             } else {
                 /* For VEIC mode, the external interrupt controller feeds the
-                   vector throught the CP0Cause IP lines.  */
+                   vector through the CP0Cause IP lines.  */
                 vector = pending;
             }
             offset = 0x200 + vector * spacing;
index 202c098ee087bd2907a4362ca2f8e4073856bf5b..b8893b30271cd10975362db63a0a17f2508b9fdc 100644 (file)
@@ -513,15 +513,15 @@ enum cc_op {
 
     CC_OP_ADD_64,               /* overflow on add (64bit) */
     CC_OP_ADDU_64,              /* overflow on unsigned add (64bit) */
-    CC_OP_SUB_64,               /* overflow on substraction (64bit) */
-    CC_OP_SUBU_64,              /* overflow on unsigned substraction (64bit) */
+    CC_OP_SUB_64,               /* overflow on subtraction (64bit) */
+    CC_OP_SUBU_64,              /* overflow on unsigned subtraction (64bit) */
     CC_OP_ABS_64,               /* sign eval on abs (64bit) */
     CC_OP_NABS_64,              /* sign eval on nabs (64bit) */
 
     CC_OP_ADD_32,               /* overflow on add (32bit) */
     CC_OP_ADDU_32,              /* overflow on unsigned add (32bit) */
-    CC_OP_SUB_32,               /* overflow on substraction (32bit) */
-    CC_OP_SUBU_32,              /* overflow on unsigned substraction (32bit) */
+    CC_OP_SUB_32,               /* overflow on subtraction (32bit) */
+    CC_OP_SUBU_32,              /* overflow on unsigned subtraction (32bit) */
     CC_OP_ABS_32,               /* sign eval on abs (64bit) */
     CC_OP_NABS_32,              /* sign eval on nabs (64bit) */
 
index 4cde6e43629caeb500faebf7752d9cb02687f1e8..561f7bfabb898d9490f81852b44364ff0c887034 100644 (file)
@@ -9,7 +9,7 @@
  *                                                                  *
  * THE 'ZYWRLE' VNC CODEC SOURCE CODE IS (C) COPYRIGHT 2006         *
  * BY Hitachi Systems & Services, Ltd.                              *
- * (Noriaki Yamazaki, Research & Developement Center)               *
+ * (Noriaki Yamazaki, Research & Development Center)               *
  *                                                                  *
  *                                                                  *
  ********************************************************************
index ac5d27a449308ab285a7a90e866ee00f739c3b06..1ff40b1f40f978f7c9788fabd816f2c074ae4495 100644 (file)
@@ -8,7 +8,7 @@
  *                                                                  *
  * THE 'ZYWRLE' VNC CODEC SOURCE CODE IS (C) COPYRIGHT 2006         *
  * BY Hitachi Systems & Services, Ltd.                              *
- * (Noriaki Yamazaki, Research & Developement Center)               *
+ * (Noriaki Yamazaki, Research & Development Center)               *
  *                                                                  *
  *                                                                  *
  ********************************************************************