[Qemu-devel] [PULL v4 00/51] Misc patches for 2018-01-12

Paolo Bonzini posted 51 patches 7 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1516112253-14480-1-git-send-email-pbonzini@redhat.com
Test checkpatch failed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
Makefile                               |   7 +-
audio/paaudio.c                        |   4 +-
block/iscsi.c                          |   3 +-
chardev/char-fe.c                      |   2 +-
chardev/char-pty.c                     |  64 ++++++++--------
chardev/char-serial.c                  |  75 +++++++++---------
chardev/char-socket.c                  |  28 ++++---
chardev/char.c                         |  18 +++++
configure                              |  16 +++-
cpus.c                                 | 134 ++++++++++++++++++++-------------
crypto/ivgen-essiv.c                   |   2 +-
disas/s390.c                           |  16 ++--
docs/devel/build-system.txt            |  13 ++++
exec.c                                 |  40 ++++++++--
hw/adc/stm32f2xx_adc.c                 |   2 +-
hw/block/m25p80.c                      |   2 +-
hw/char/cadence_uart.c                 |   2 +-
hw/char/stm32f2xx_usart.c              |   2 +-
hw/char/terminal3270.c                 |  28 ++++---
hw/display/cg3.c                       |   2 +-
hw/display/dpcd.c                      |   2 +-
hw/display/xlnx_dp.c                   |   2 +-
hw/dma/pl330.c                         |   2 +-
hw/dma/xlnx-zynq-devcfg.c              |   2 +-
hw/dma/xlnx_dpdma.c                    |   2 +-
hw/i2c/i2c-ddc.c                       |   2 +-
hw/i386/pc.c                           |  18 ++++-
hw/misc/auxbus.c                       |   2 +-
hw/misc/macio/mac_dbdma.c              |   4 +-
hw/misc/mmio_interface.c               |   2 +-
hw/misc/stm32f2xx_syscfg.c             |   2 +-
hw/misc/zynq_slcr.c                    |   2 +-
hw/net/cadence_gem.c                   |   2 +-
hw/net/pcnet.c                         |  20 ++---
hw/nvram/ds1225y.c                     |   4 +-
hw/scsi/scsi-disk.c                    |   1 +
hw/scsi/scsi-generic.c                 |   9 +++
hw/ssi/mss-spi.c                       |   2 +-
hw/ssi/stm32f2xx_spi.c                 |   2 +-
hw/ssi/xilinx_spi.c                    |   2 +-
hw/ssi/xilinx_spips.c                  |   2 +-
hw/timer/a9gtimer.c                    |   2 +-
hw/timer/cadence_ttc.c                 |   2 +-
hw/timer/hpet.c                        |  30 +++++++-
hw/timer/mss-timer.c                   |   2 +-
hw/timer/stm32f2xx_timer.c             |   2 +-
hw/tpm/tpm_passthrough.c               |   2 +-
hw/tpm/tpm_tis.c                       |   2 +-
include/chardev/char.h                 |   3 +
include/exec/ram_addr.h                |   5 +-
include/hw/compat.h                    |   6 +-
include/qemu/readline.h                |   1 +
include/qemu/thread.h                  |  39 +++++++++-
migration/rdma.c                       |   2 +-
monitor.c                              |   2 +-
rules.mak                              |   2 +
scripts/analyse-locks-simpletrace.py   |  99 ++++++++++++++++++++++++
scripts/checkpatch.pl                  |   5 ++
scripts/qemu-gdb.py                    |   4 +-
scripts/qemugdb/tcg.py                 |  46 +++++++++++
scripts/qemugdb/timers.py              |  54 +++++++++++++
scsi/utils.c                           |  12 +--
target/arm/translate-a64.c             |   2 +-
target/i386/cpu.c                      |  42 +++++++++++
target/i386/cpu.h                      |   2 +
target/i386/hax-all.c                  |  54 +------------
target/i386/hvf/x86hvf.c               |   2 +-
target/i386/kvm.c                      | 121 ++++++++++++-----------------
target/mips/msa_helper.c               |  34 +++++----
target/s390x/kvm.c                     |   2 +-
tests/Makefile.include                 |   5 ++
tests/acpi-utils.h                     |   8 +-
tests/boot-serial-test.c               |  37 +++++++++
tests/check-qobject.c                  |   2 +
tests/docker/dockerfiles/fedora.docker |   4 +-
tests/docker/test-clang                |   2 +-
tests/docker/test-debug                |  26 +++++++
tests/docker/test-mingw                |   2 -
tests/migration-test.c                 |   3 +-
tests/qmp-test.c                       |   3 +-
tests/tcg/test-mmap.c                  |   2 +-
tests/test-coroutine.c                 |   1 -
tests/vhost-user-bridge.c              |   6 +-
trace-events                           |   4 +
ui/sdl_zoom_template.h                 |   8 +-
util/qemu-config.c                     |   3 +-
util/qemu-thread-posix.c               |  21 +++---
util/qemu-thread-win32.c               |  20 ++---
util/readline.c                        |  18 ++++-
util/trace-events                      |   7 +-
vl.c                                   |   9 ++-
91 files changed, 902 insertions(+), 416 deletions(-)
create mode 100755 scripts/analyse-locks-simpletrace.py
create mode 100644 scripts/qemugdb/tcg.py
create mode 100644 scripts/qemugdb/timers.py
create mode 100755 tests/docker/test-debug
[Qemu-devel] [PULL v4 00/51] Misc patches for 2018-01-12
Posted by Paolo Bonzini 7 years, 9 months ago
The following changes since commit 997eba28a3ed5400a80f754bf3a1c8044b75b9ff:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180111' into staging (2018-01-11 14:34:41 +0000)

are available in the git repository at:


  git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to b5976c2e46e86b36b01d8ac380a182e22209a7cd:

  scripts/analyse-locks-simpletrace.py: script to analyse lock times (2018-01-16 14:54:52 +0100)

----------------------------------------------------------------
* QemuMutex tracing improvements (Alex)
* ram_addr_t optimization (David)
* SCSI fixes (Fam, Stefan, me)
* do {} while (0) fixes (Eric)
* KVM fix for PMU (Jan)
* memory leak fixes from ASAN (Marc-André)
* migration fix for HPET, icount, loadvm (Maria, Pavel)
* hflags fixes (me, Tao)
* block/iscsi uninitialized variable (Peter L.)
* full support for GMainContexts in character devices (Peter Xu)
* more boot-serial-test (Thomas)
* Memory leak fix (Zhecheng)

----------------------------------------------------------------
Alex Bennée (4):
      scripts/qemu-gdb: add simple tcg lock status helper
      scripts/qemu-gdb/timers.py: new helper to dump timer state
      util/qemu-thread-*: add qemu_lock, locked and unlock trace events
      scripts/analyse-locks-simpletrace.py: script to analyse lock times

Dr. David Alan Gilbert (3):
      cpu_physical_memory_sync_dirty_bitmap: Another alignment fix
      find_ram_offset: Add comments and tracing
      find_ram_offset: Align ram_addr_t allocation on long boundaries

Eric Blake (7):
      net: Drop unusual use of do { } while (0);
      mips: Tweak location of ';' in macros
      chardev: Use goto/label instead of do/break/while(0)
      chardev: Clean up previous patch indentation
      tests: Avoid 'do/while(false); ' in vhost-user-bridge
      maint: Fix macros with broken 'do/while(0); ' usage
      checkpatch: Enforce proper do/while (0) style

Fam Zheng (1):
      scsi-generic: Add share-rw option

Haozhong Zhang (1):
      pc: fail memory hot-plug/unplug with -no-acpi and Q35 machine type

Jan Dakinevich (1):
      i386/cpu/kvm: look at PMU's CPUID before setting MSRs

Marc-André Lureau (16):
      build-sys: fix qemu-ga -pthread linking
      build-sys: silence make by default or V=0
      build-sys: add a rule to print a variable
      build-sys: compile with -Og or -O1 when --enable-debug
      tests/docker: add some sanitizers to fedora dockerfile
      tests/docker: add test-debug
      tests: fix check-qobject leak
      vl: fix direct firmware directories leak
      readline: add a free function
      tests: fix migration-test leak
      crypto: fix stack-buffer-overflow error
      qemu-config: fix leak in query-command-line-options
      tests: fix qmp-test leak
      tests: fix coroutine leak in /basic/entered
      mips: fix potential fopen(NULL,...)
      disas/s390: fix global-buffer-overflow

Paolo Bonzini (3):
      scsi: fix scsi_convert_sense crash when in_buf == NULL && in_len == 0
      target-i386: update hflags on Hypervisor.framework
      cpus: unify qemu_*_wait_io_event

Pavel Dovgalyuk (3):
      hpet: recover timer offset correctly
      icount: fixed saving/restoring of icount warp timers
      cpu: flush TB cache when loading VMState

Peter Lieven (1):
      block/iscsi: fix initialization of iTask in iscsi_co_get_block_status

Peter Xu (3):
      chardev: use backend chr context when watch for fe
      chardev: let g_idle_add() be with chardev gcontext
      chardev: introduce qemu_chr_timeout_add_ms()

Stefan Hajnoczi (1):
      scsi-disk: release AioContext in unaligned WRITE SAME case

Tao Wu (3):
      target/i386: move hflags update code to a function
      target/i386: hax: change to use x86_update_hflags
      target/i386: hax: Move x86_update_hflags.

Thomas Huth (3):
      tests/boot-serial-test: Add tests for microblaze boards
      tests/boot-serial-test: Add a test for the moxiesim machine
      tests/boot-serial-test: Add support for the raspi2 machine

linzhecheng (1):
      irq: fix memory leak

 Makefile                               |   7 +-
 audio/paaudio.c                        |   4 +-
 block/iscsi.c                          |   3 +-
 chardev/char-fe.c                      |   2 +-
 chardev/char-pty.c                     |  64 ++++++++--------
 chardev/char-serial.c                  |  75 +++++++++---------
 chardev/char-socket.c                  |  28 ++++---
 chardev/char.c                         |  18 +++++
 configure                              |  16 +++-
 cpus.c                                 | 134 ++++++++++++++++++++-------------
 crypto/ivgen-essiv.c                   |   2 +-
 disas/s390.c                           |  16 ++--
 docs/devel/build-system.txt            |  13 ++++
 exec.c                                 |  40 ++++++++--
 hw/adc/stm32f2xx_adc.c                 |   2 +-
 hw/block/m25p80.c                      |   2 +-
 hw/char/cadence_uart.c                 |   2 +-
 hw/char/stm32f2xx_usart.c              |   2 +-
 hw/char/terminal3270.c                 |  28 ++++---
 hw/display/cg3.c                       |   2 +-
 hw/display/dpcd.c                      |   2 +-
 hw/display/xlnx_dp.c                   |   2 +-
 hw/dma/pl330.c                         |   2 +-
 hw/dma/xlnx-zynq-devcfg.c              |   2 +-
 hw/dma/xlnx_dpdma.c                    |   2 +-
 hw/i2c/i2c-ddc.c                       |   2 +-
 hw/i386/pc.c                           |  18 ++++-
 hw/misc/auxbus.c                       |   2 +-
 hw/misc/macio/mac_dbdma.c              |   4 +-
 hw/misc/mmio_interface.c               |   2 +-
 hw/misc/stm32f2xx_syscfg.c             |   2 +-
 hw/misc/zynq_slcr.c                    |   2 +-
 hw/net/cadence_gem.c                   |   2 +-
 hw/net/pcnet.c                         |  20 ++---
 hw/nvram/ds1225y.c                     |   4 +-
 hw/scsi/scsi-disk.c                    |   1 +
 hw/scsi/scsi-generic.c                 |   9 +++
 hw/ssi/mss-spi.c                       |   2 +-
 hw/ssi/stm32f2xx_spi.c                 |   2 +-
 hw/ssi/xilinx_spi.c                    |   2 +-
 hw/ssi/xilinx_spips.c                  |   2 +-
 hw/timer/a9gtimer.c                    |   2 +-
 hw/timer/cadence_ttc.c                 |   2 +-
 hw/timer/hpet.c                        |  30 +++++++-
 hw/timer/mss-timer.c                   |   2 +-
 hw/timer/stm32f2xx_timer.c             |   2 +-
 hw/tpm/tpm_passthrough.c               |   2 +-
 hw/tpm/tpm_tis.c                       |   2 +-
 include/chardev/char.h                 |   3 +
 include/exec/ram_addr.h                |   5 +-
 include/hw/compat.h                    |   6 +-
 include/qemu/readline.h                |   1 +
 include/qemu/thread.h                  |  39 +++++++++-
 migration/rdma.c                       |   2 +-
 monitor.c                              |   2 +-
 rules.mak                              |   2 +
 scripts/analyse-locks-simpletrace.py   |  99 ++++++++++++++++++++++++
 scripts/checkpatch.pl                  |   5 ++
 scripts/qemu-gdb.py                    |   4 +-
 scripts/qemugdb/tcg.py                 |  46 +++++++++++
 scripts/qemugdb/timers.py              |  54 +++++++++++++
 scsi/utils.c                           |  12 +--
 target/arm/translate-a64.c             |   2 +-
 target/i386/cpu.c                      |  42 +++++++++++
 target/i386/cpu.h                      |   2 +
 target/i386/hax-all.c                  |  54 +------------
 target/i386/hvf/x86hvf.c               |   2 +-
 target/i386/kvm.c                      | 121 ++++++++++++-----------------
 target/mips/msa_helper.c               |  34 +++++----
 target/s390x/kvm.c                     |   2 +-
 tests/Makefile.include                 |   5 ++
 tests/acpi-utils.h                     |   8 +-
 tests/boot-serial-test.c               |  37 +++++++++
 tests/check-qobject.c                  |   2 +
 tests/docker/dockerfiles/fedora.docker |   4 +-
 tests/docker/test-clang                |   2 +-
 tests/docker/test-debug                |  26 +++++++
 tests/docker/test-mingw                |   2 -
 tests/migration-test.c                 |   3 +-
 tests/qmp-test.c                       |   3 +-
 tests/tcg/test-mmap.c                  |   2 +-
 tests/test-coroutine.c                 |   1 -
 tests/vhost-user-bridge.c              |   6 +-
 trace-events                           |   4 +
 ui/sdl_zoom_template.h                 |   8 +-
 util/qemu-config.c                     |   3 +-
 util/qemu-thread-posix.c               |  21 +++---
 util/qemu-thread-win32.c               |  20 ++---
 util/readline.c                        |  18 ++++-
 util/trace-events                      |   7 +-
 vl.c                                   |   9 ++-
 91 files changed, 902 insertions(+), 416 deletions(-)
 create mode 100755 scripts/analyse-locks-simpletrace.py
 create mode 100644 scripts/qemugdb/tcg.py
 create mode 100644 scripts/qemugdb/timers.py
 create mode 100755 tests/docker/test-debug
-- 
1.8.3.1


Re: [Qemu-devel] [PULL v4 00/51] Misc patches for 2018-01-12
Posted by no-reply@patchew.org 7 years, 9 months ago
Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 1516112253-14480-1-git-send-email-pbonzini@redhat.com
Subject: [Qemu-devel] [PULL v4 00/51] Misc patches for 2018-01-12

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
   f521eeee3b..aae39d24a3  master     -> master
 * [new tag]               patchew/1516112253-14480-1-git-send-email-pbonzini@redhat.com -> patchew/1516112253-14480-1-git-send-email-pbonzini@redhat.com
 t [tag update]            patchew/20180116134217.8725-1-berrange@redhat.com -> patchew/20180116134217.8725-1-berrange@redhat.com
Switched to a new branch 'test'
8d5c19ee59 scripts/analyse-locks-simpletrace.py: script to analyse lock times
028b489871 util/qemu-thread-*: add qemu_lock, locked and unlock trace events
9ce469b8d3 cpu: flush TB cache when loading VMState
4592c6fc6d block/iscsi: fix initialization of iTask in iscsi_co_get_block_status
a7a80362bd find_ram_offset: Align ram_addr_t allocation on long boundaries
c266ee51cb find_ram_offset: Add comments and tracing
5a28d83034 cpu_physical_memory_sync_dirty_bitmap: Another alignment fix
20c5869514 checkpatch: Enforce proper do/while (0) style
dba6450c75 maint: Fix macros with broken 'do/while(0); ' usage
f72687a888 tests: Avoid 'do/while(false); ' in vhost-user-bridge
67da9bdd04 chardev: Clean up previous patch indentation
0b44cbe552 chardev: Use goto/label instead of do/break/while(0)
ea2267eedc mips: Tweak location of ';' in macros
b5c31718fd net: Drop unusual use of do { } while (0);
6d4c84238c irq: fix memory leak
9d097a6f41 cpus: unify qemu_*_wait_io_event
3ad828c271 icount: fixed saving/restoring of icount warp timers
d27d206657 scripts/qemu-gdb/timers.py: new helper to dump timer state
021b13fc18 scripts/qemu-gdb: add simple tcg lock status helper
788d5b6c8e target-i386: update hflags on Hypervisor.framework
2fe60e00e4 target/i386: hax: Move x86_update_hflags.
8bcf5f332d target/i386: hax: change to use x86_update_hflags
abe8ba0b29 target/i386: move hflags update code to a function
d10c944178 tests/boot-serial-test: Add support for the raspi2 machine
88b6c83db5 tests/boot-serial-test: Add a test for the moxiesim machine
1d6145e7dc tests/boot-serial-test: Add tests for microblaze boards
e71edbe725 scsi-disk: release AioContext in unaligned WRITE SAME case
566948dd91 disas/s390: fix global-buffer-overflow
ae42cef294 mips: fix potential fopen(NULL,...)
ca10a2cbd7 tests: fix coroutine leak in /basic/entered
788c04ecb8 tests: fix qmp-test leak
57b28cdb84 qemu-config: fix leak in query-command-line-options
773fc2f2ae crypto: fix stack-buffer-overflow error
4bb5d62a8b readline: add a free function
0b7ad27179 vl: fix direct firmware directories leak
81af850214 tests: fix check-qobject leak
a528620674 tests/docker: add test-debug
ff0f14b5f3 tests/docker: add some sanitizers to fedora dockerfile
1a4bbc821a build-sys: compile with -Og or -O1 when --enable-debug
51296ac14a build-sys: add a rule to print a variable
d632afdb14 build-sys: silence make by default or V=0
5921b3610c build-sys: fix qemu-ga -pthread linking
e8c1a6984a chardev: introduce qemu_chr_timeout_add_ms()
78b11ee7fd chardev: let g_idle_add() be with chardev gcontext
72841e0936 chardev: use backend chr context when watch for fe
6513afa645 i386/cpu/kvm: look at PMU's CPUID before setting MSRs
f21a1e10fc hpet: recover timer offset correctly
9cf6f5f07f pc: fail memory hot-plug/unplug with -no-acpi and Q35 machine type
7fa434aec1 scsi: fix scsi_convert_sense crash when in_buf == NULL && in_len == 0
cdae3dd6aa scsi-generic: Add share-rw option

=== OUTPUT BEGIN ===
Checking PATCH 1/50: scsi-generic: Add share-rw option...
Checking PATCH 2/50: scsi: fix scsi_convert_sense crash when in_buf == NULL && in_len == 0...
Checking PATCH 3/50: pc: fail memory hot-plug/unplug with -no-acpi and Q35 machine type...
Checking PATCH 4/50: hpet: recover timer offset correctly...
Checking PATCH 5/50: i386/cpu/kvm: look at PMU's CPUID before setting MSRs...
Checking PATCH 6/50: chardev: use backend chr context when watch for fe...
Checking PATCH 7/50: chardev: let g_idle_add() be with chardev gcontext...
Checking PATCH 8/50: chardev: introduce qemu_chr_timeout_add_ms()...
Checking PATCH 9/50: build-sys: fix qemu-ga -pthread linking...
Checking PATCH 10/50: build-sys: silence make by default or V=0...
Checking PATCH 11/50: build-sys: add a rule to print a variable...
Checking PATCH 12/50: build-sys: compile with -Og or -O1 when --enable-debug...
Checking PATCH 13/50: tests/docker: add some sanitizers to fedora dockerfile...
Checking PATCH 14/50: tests/docker: add test-debug...
Checking PATCH 15/50: tests: fix check-qobject leak...
Checking PATCH 16/50: vl: fix direct firmware directories leak...
Checking PATCH 17/50: readline: add a free function...
Checking PATCH 18/50: crypto: fix stack-buffer-overflow error...
Checking PATCH 19/50: qemu-config: fix leak in query-command-line-options...
Checking PATCH 20/50: tests: fix qmp-test leak...
Checking PATCH 21/50: tests: fix coroutine leak in /basic/entered...
Checking PATCH 22/50: mips: fix potential fopen(NULL,...)...
Checking PATCH 23/50: disas/s390: fix global-buffer-overflow...
ERROR: braces {} are necessary even for single statement blocks
#85: FILE: disas/s390.c:216:
+  for (i = s390_num_opcodes; i--; )
+    opc_index[s390_opcodes[i].opcode[0]] = i;

total: 1 errors, 0 warnings, 24 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 24/50: scsi-disk: release AioContext in unaligned WRITE SAME case...
Checking PATCH 25/50: tests/boot-serial-test: Add tests for microblaze boards...
Checking PATCH 26/50: tests/boot-serial-test: Add a test for the moxiesim machine...
Checking PATCH 27/50: tests/boot-serial-test: Add support for the raspi2 machine...
Checking PATCH 28/50: target/i386: move hflags update code to a function...
ERROR: Macros with complex values should be enclosed in parenthesis
#24: FILE: target/i386/cpu.c:4153:
+#define HFLAG_COPY_MASK \
+    ~( HF_CPL_MASK | HF_PE_MASK | HF_MP_MASK | HF_EM_MASK | \
+       HF_TS_MASK | HF_TF_MASK | HF_VM_MASK | HF_IOPL_MASK | \
+       HF_OSFXSR_MASK | HF_LMA_MASK | HF_CS32_MASK | \
+       HF_SS32_MASK | HF_CS64_MASK | HF_ADDSEG_MASK)

ERROR: space prohibited after that open parenthesis '('
#25: FILE: target/i386/cpu.c:4154:
+    ~( HF_CPL_MASK | HF_PE_MASK | HF_MP_MASK | HF_EM_MASK | \

ERROR: "foo* bar" should be "foo *bar"
#74: FILE: target/i386/cpu.h:1781:
+void x86_update_hflags(CPUX86State* env);

total: 3 errors, 0 warnings, 106 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 29/50: target/i386: hax: change to use x86_update_hflags...
Checking PATCH 30/50: target/i386: hax: Move x86_update_hflags....
Checking PATCH 31/50: target-i386: update hflags on Hypervisor.framework...
Checking PATCH 32/50: scripts/qemu-gdb: add simple tcg lock status helper...
Checking PATCH 33/50: scripts/qemu-gdb/timers.py: new helper to dump timer state...
Checking PATCH 34/50: icount: fixed saving/restoring of icount warp timers...
ERROR: spaces required around that '*' (ctx:VxV)
#172: FILE: cpus.c:689:
+    .subsections = (const VMStateDescription*[]) {
                                             ^

total: 1 errors, 0 warnings, 173 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 35/50: cpus: unify qemu_*_wait_io_event...
Checking PATCH 36/50: irq: fix memory leak...
Checking PATCH 37/50: net: Drop unusual use of do { } while (0);...
Checking PATCH 38/50: mips: Tweak location of ';' in macros...
Checking PATCH 39/50: chardev: Use goto/label instead of do/break/while(0)...
Checking PATCH 40/50: chardev: Clean up previous patch indentation...
Checking PATCH 41/50: tests: Avoid 'do/while(false); ' in vhost-user-bridge...
Checking PATCH 42/50: maint: Fix macros with broken 'do/while(0); ' usage...
Checking PATCH 43/50: checkpatch: Enforce proper do/while (0) style...
Checking PATCH 44/50: cpu_physical_memory_sync_dirty_bitmap: Another alignment fix...
Checking PATCH 45/50: find_ram_offset: Add comments and tracing...
Checking PATCH 46/50: find_ram_offset: Align ram_addr_t allocation on long boundaries...
Checking PATCH 47/50: block/iscsi: fix initialization of iTask in iscsi_co_get_block_status...
Checking PATCH 48/50: cpu: flush TB cache when loading VMState...
Checking PATCH 49/50: util/qemu-thread-*: add qemu_lock, locked and unlock trace events...
ERROR: line over 90 characters
#132: FILE: util/qemu-thread-posix.c:158:
+void qemu_cond_wait_impl(QemuCond *cond, QemuMutex *mutex, const char *file, const int line)

ERROR: line over 90 characters
#193: FILE: util/qemu-thread-win32.c:145:
+void qemu_cond_wait_impl(QemuCond *cond, QemuMutex *mutex, const char *file, const int line)

total: 2 errors, 0 warnings, 181 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 50/50: scripts/analyse-locks-simpletrace.py: script to analyse lock times...
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@freelists.org
Re: [Qemu-devel] [PULL v4 00/51] Misc patches for 2018-01-12
Posted by Peter Maydell 7 years, 9 months ago
On 16 January 2018 at 14:16, Paolo Bonzini <pbonzini@redhat.com> wrote:
> The following changes since commit 997eba28a3ed5400a80f754bf3a1c8044b75b9ff:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180111' into staging (2018-01-11 14:34:41 +0000)
>
> are available in the git repository at:
>
>
>   git://github.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to b5976c2e46e86b36b01d8ac380a182e22209a7cd:
>
>   scripts/analyse-locks-simpletrace.py: script to analyse lock times (2018-01-16 14:54:52 +0100)
>
> ----------------------------------------------------------------
> * QemuMutex tracing improvements (Alex)
> * ram_addr_t optimization (David)
> * SCSI fixes (Fam, Stefan, me)
> * do {} while (0) fixes (Eric)
> * KVM fix for PMU (Jan)
> * memory leak fixes from ASAN (Marc-André)
> * migration fix for HPET, icount, loadvm (Maria, Pavel)
> * hflags fixes (me, Tao)
> * block/iscsi uninitialized variable (Peter L.)
> * full support for GMainContexts in character devices (Peter Xu)
> * more boot-serial-test (Thomas)
> * Memory leak fix (Zhecheng)
>

Applied, thanks.

-- PMM