Skip to contentSkip to conversation

Trivial patches for 2013-10-26

GIT PULL Michael Tokarev 1 participant 8 messages Oct 26, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

This is a 2-week pull request, I haven't asked for pull a week ago since we had not much stuff happening on "trivial front".

Please consider pulling.

Thanks,

/mjt

The following changes since commit fc8ead74674b7129e8f31c2595c76658e5622197:

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2013-10-18 10:03:24 -0700)

are available in the git repository at:

git://git.corpit.ru/qemu.git trivial-patches

for you to fetch changes up to 203cea22a3d33ac86d170af74f8c655f119c8c62:

audio/mixeng_template.h: fix inline declaration (2013-10-26 13:09:34 +0400)

----------------------------------------------------------------
Alex Bligh (1):
audio/mixeng_template.h: fix inline declaration

Eric Blake (1):
qapi: fix documentation example

Fam Zheng (1):
.gitignore: ignore qmp-commands.txt

Michael Tokarev (1):
configure: create fsdev/ directory

Stefan Weil (2):
misc: New spelling fixes in comments
misc: Spelling and grammar fixes in comments

WengFan (1):
docs/ccid.txt: fix the typo

 .gitignore               |    2 +-
 audio/mixeng_template.h  |    4 ++--
 block/iscsi.c            |    2 +-
 configure                |    1 +
 docs/ccid.txt            |    2 +-
 docs/qapi-code-gen.txt   |    2 +-
 hw/ppc/spapr.c           |    2 +-
 qapi-schema.json         |    2 +-
 slirp/if.c               |    2 +-
 target-alpha/translate.c |    2 +-
 tests/test-throttle.c    |    4 ++--
 ui/vnc-enc-zywrle.h      |    2 +-
 12 files changed, 14 insertions(+), 13 deletions(-)
#1 lore raw

[Qemu-devel] [PULL 1/7] configure: create fsdev/ directory

In some cases when building with parallelism (make -jN), build fails because the directory where output files are supposed to be does not exist. In particular, when make decides to build virtfs-proxy-helper.1 before other files in fsdev/, build will fail with the following error:

perl -Ww -- BUILDDIR/scripts/texi2pod.pl BUILDDIR/fsdev/virtfs-proxy-helper.texi fsdev/virtfs-proxy-helper.pod && pod2man --utf8 --section=1 --center=" " --release=" " fsdev/virtfs-proxy-helper.pod > fsdev/virtfs-proxy-helper.1 opening "fsdev/virtfs-proxy-helper.pod": No such file or directory

---
 configure |    1 +
 1 file changed, 1 insertion(+)
configure +1 -0
index 57ee62a..61bb27c 100755
@@ -4647,6 +4647,7 @@ fi
 
 # build tree in object directory in case the source is not in the current directory
 DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32 tests/libqos tests/qapi-schema tests/tcg/xtensa tests/qemu-iotests"
+DIRS="$DIRS fsdev"
 DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas pc-bios/s390-ccw"
 DIRS="$DIRS roms/seabios roms/vgabios"
 DIRS="$DIRS qapi-generated"
Signature · 1 line
1.7.10.4
#2 lore raw

[Qemu-devel] [PULL 2/7] misc: New spelling fixes in comments

In reply to Michael Tokarev

From: Stefan Weil <[email protected]>

compatiblity -> compatibility
continously -> continuously
existance -> existence
usefull -> useful
shoudl -> should

---
 block/iscsi.c            |    2 +-
 hw/ppc/spapr.c           |    2 +-
 target-alpha/translate.c |    2 +-
 tests/test-throttle.c    |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
block/iscsi.c +1 -1
index a2a961e..a2d578c 100644
@@ -866,7 +866,7 @@ retry:
         /* in case the get_lba_status_callout fails (i.e.
          * because the device is busy or the cmd is not
          * supported) we pretend all blocks are allocated
-         * for backwards compatiblity */
+         * for backwards compatibility */
         goto out;
     }
 
hw/ppc/spapr.c +1 -1
index 004184d..74aa5cc 100644
@@ -120,7 +120,7 @@ int spapr_allocate_irq_block(int num, bool lsi, bool msi)
      * it has to be aligned to num to support multiple
      * MSI vectors. MSI-X is not affected by this.
      * The hint is used for the first IRQ, the rest should
-     * be allocated continously.
+     * be allocated continuously.
      */
     if (msi) {
         assert((num == 1) || (num == 2) || (num == 4) ||
target-alpha/translate.c +1 -1
index c24910f..1155e86 100644
@@ -1601,7 +1601,7 @@ static ExitStatus gen_call_pal(DisasContext *ctx, int palcode)
         tcg_temp_free(pc);
 
         /* Since the destination is running in PALmode, we don't really
-           need the page permissions check.  We'll see the existance of
+           need the page permissions check.  We'll see the existence of
            the page when we create the TB, and we'll flush all TBs if
            we change the PAL base register.  */
         if (!ctx->singlestep_enabled && !(ctx->tb->cflags & CF_LAST_IO)) {
tests/test-throttle.c +2 -2
index 7608126..1d4ffd3 100644
@@ -18,7 +18,7 @@ LeakyBucket    bkt;
 ThrottleConfig cfg;
 ThrottleState  ts;
 
-/* usefull function */
+/* useful function */
 static bool double_cmp(double x, double y)
 {
     return fabsl(x - y) < 1e-6;
@@ -320,7 +320,7 @@ static void test_have_timer(void)
     /* zero the structure */
     memset(&ts, 0, sizeof(ts));
 
-    /* no timer set shoudl return false */
+    /* no timer set should return false */
     g_assert(!throttle_have_timer(&ts));
 
     /* init the structure */
Signature · 1 line
1.7.10.4
#3 lore raw

[Qemu-devel] [PULL 3/7] .gitignore: ignore qmp-commands.txt

In reply to Michael Tokarev

From: Fam Zheng <[email protected]>

This file is moved out from QMP/ to BUILD dir, change the ignore file too.

---
 .gitignore |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitignore +1 -1
index 8e1b73f..5584b5f 100644
@@ -44,7 +44,7 @@ qemu-ga
 qemu-bridge-helper
 qemu-monitor.texi
 vscclient
-QMP/qmp-commands.txt
+qmp-commands.txt
 test-bitops
 test-coroutine
 test-int128
Signature · 1 line
1.7.10.4
#4 lore raw

[Qemu-devel] [PULL 4/7] qapi: fix documentation example

In reply to Michael Tokarev

From: Eric Blake <[email protected]>

The QMP wire format uses "", not '', around strings.

* docs/qapi-code-gen.txt: Fix typo.

---
 docs/qapi-code-gen.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/qapi-code-gen.txt +1 -1
index 91f44d0..0728f36 100644
@@ -164,7 +164,7 @@ This example allows using both of the following example objects:
  { "file": "my_existing_block_device_id" }
  { "file": { "driver": "file",
              "readonly": false,
-             'filename': "/tmp/mydisk.qcow2" } }
+             "filename": "/tmp/mydisk.qcow2" } }
 
 
 === Commands ===
Signature · 1 line
1.7.10.4
#5 lore raw

[Qemu-devel] [PULL 7/7] audio/mixeng_template.h: fix inline declaration

In reply to Michael Tokarev

From: Alex Bligh <[email protected]>

Fix error: ‘inline’ is not at beginning of declaration [-Werror=old-style-declaration]

---
 audio/mixeng_template.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
audio/mixeng_template.h +2 -2
index 30849a6..77cc89b 100644
@@ -35,7 +35,7 @@
 #define IN_T glue (glue (ITYPE, BSIZE), _t)
 
 #ifdef FLOAT_MIXENG
-static mixeng_real inline glue (conv_, ET) (IN_T v)
+static inline mixeng_real glue (conv_, ET) (IN_T v)
 {
     IN_T nv = ENDIAN_CONVERT (v);
 
@@ -54,7 +54,7 @@ static mixeng_real inline glue (conv_, ET) (IN_T v)
 #endif
 }
 
-static IN_T inline glue (clip_, ET) (mixeng_real v)
+static inline IN_T glue (clip_, ET) (mixeng_real v)
 {
     if (v >= 0.5) {
         return IN_MAX;
Signature · 1 line
1.7.10.4
#6 lore raw

[Qemu-devel] [PULL 6/7] misc: Spelling and grammar fixes in comments

In reply to Michael Tokarev

From: Stefan Weil <[email protected]>

* it's -> its
* grammar fix in ui/vnc-enc-zywrle.h

---
 qapi-schema.json    |    2 +-
 slirp/if.c          |    2 +-
 ui/vnc-enc-zywrle.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
qapi-schema.json +1 -1
index 60f3fd1..a003aa1 100644
@@ -1914,7 +1914,7 @@
 #
 # Since: 0.14.0
 #
-# Notes: This command only exists as a stop-gap.  It's use is highly
+# Notes: This command only exists as a stop-gap.  Its use is highly
 #        discouraged.  The semantics of this command are not guaranteed.
 #
 #        Known limitations:
slirp/if.c +1 -1
index 87ca8a5..fb7acf8 100644
@@ -142,7 +142,7 @@ diddit:
 
 /*
  * Send a packet
- * We choose a packet based on it's position in the output queues;
+ * We choose a packet based on its position in the output queues;
  * If there are packets on the fastq, they are sent FIFO, before
  * everything else.  Otherwise we choose the first packet from the
  * batchq and send it.  the next packet chosen will be from the session
ui/vnc-enc-zywrle.h +1 -1
index 1ff40b1..d436d58 100644
@@ -305,7 +305,7 @@ static inline void harr(int8_t *px0, int8_t *px1)
    |L1H0H1H0|L1H0H1H0|L1H0H1H0|L1H0H1H0| : level 1
 
  In this method, H/L and X0/X1 is always same position.
- This lead us to more speed and less memory.
+ This leads us to more speed and less memory.
  Of cause, the result of both method is quite same
  because it's only difference that coefficient position.
 */
Signature · 1 line
1.7.10.4
#7 lore raw

[Qemu-devel] [PULL 5/7] docs/ccid.txt: fix the typo

In reply to Michael Tokarev

From: WengFan <[email protected]>

---
 docs/ccid.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/ccid.txt +1 -1
index 8bbaa94..83c174d 100644
@@ -52,7 +52,7 @@ Configuring and building:
 Assuming you have a working smartcard on the host with the current
 user, using NSS, qemu acts as another NSS client using ccid-card-emulated:
 
-    qemu -usb -device usb-ccid -device ccid-card-emualated
+    qemu -usb -device usb-ccid -device ccid-card-emulated
 
 4. Using ccid-card-emulated with certificates
 
Signature · 1 line
1.7.10.4