[PULL 00/45] Memory, i386, compilation, bugfix changes for 2021-06-17

Paolo Bonzini posted 45 patches 2 years, 10 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210617093134.900014-1-pbonzini@redhat.com
Maintainers: Igor Mammedov <imammedo@redhat.com>, Fam Zheng <fam@euphon.net>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Markus Armbruster <armbru@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Eric Blake <eblake@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>
backends/hostmem-file.c                            |  11 +-
backends/hostmem-memfd.c                           |   8 +-
backends/hostmem-ram.c                             |   7 +-
backends/hostmem.c                                 |  36 ++++
configure                                          |  24 +--
fpu/softfloat.c                                    |  16 +-
hw/core/machine-hmp-cmds.c                         |   6 +
hw/core/machine-qmp-cmds.c                         |   8 +
hw/m68k/next-cube.c                                |   4 +-
hw/misc/ivshmem.c                                  |   5 +-
hw/scsi/esp.c                                      | 199 ++++++++++++-------
hw/scsi/scsi-generic.c                             |   9 +-
hw/scsi/trace-events                               |   3 +-
include/exec/cpu-common.h                          |   1 +
include/exec/memory.h                              |  42 ++--
include/exec/ram_addr.h                            |   9 +-
include/hw/scsi/esp.h                              |   1 +
include/qemu/compiler.h                            |  51 -----
include/qemu/lockable.h                            |  90 ++++-----
include/qemu/mmap-alloc.h                          |  16 +-
include/qemu/osdep.h                               |  34 +++-
include/qemu/thread-posix.h                        |  14 +-
include/qemu/thread-win32.h                        |   6 -
include/qemu/thread.h                              |  15 +-
include/sysemu/hostmem.h                           |   2 +-
meson.build                                        |   2 +-
migration/ram.c                                    |   3 +-
qapi/machine.json                                  |  16 +-
qapi/qom.json                                      |  10 +
.../coccinelle/memory-region-housekeeping.cocci    |   8 +-
softmmu/memory.c                                   |  27 ++-
softmmu/physmem.c                                  |  68 ++++---
softmmu/runstate.c                                 |   2 +-
softmmu/vl.c                                       |   2 +-
target/i386/cpu.h                                  |   6 +
target/i386/svm.h                                  |   2 +
target/i386/tcg/sysemu/misc_helper.c               |   9 +
target/i386/tcg/sysemu/svm_helper.c                | 155 ++++++++-------
ui/vnc-auth-sasl.c                                 |  20 ++
ui/vnc-auth-sasl.h                                 |   1 +
ui/vnc.c                                           |  10 +-
util/mmap-alloc.c                                  | 212 +++++++++++++++------
util/oslib-posix.c                                 |   7 +-
util/oslib-win32.c                                 |  13 +-
util/qemu-config.c                                 |  17 +-
util/qemu-thread-posix.c                           |  24 ++-
util/qemu-thread-win32.c                           |   2 +-
47 files changed, 757 insertions(+), 476 deletions(-)
[PULL 00/45] Memory, i386, compilation, bugfix changes for 2021-06-17
Posted by Paolo Bonzini 2 years, 10 months ago
The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2:

  Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to f51f8e3591393f7f274e1435ac22188e2dafdfe8:

  configure: Remove probe for _Static_assert (2021-06-16 15:03:26 +0200)

----------------------------------------------------------------
* avoid deprecation warnings for SASL on macOS 10.11 or newer
* fix -readconfig when config blocks have an id (like [chardev "qmp"])
* Error* initialization fixes
* Improvements to ESP emulation (Mark)
* Allow creating noreserve memory backends (David)
* Improvements to query-memdev (David)
* Bump compiler to C11 (Richard)
* First round of SVM fixes from GSoC project (Lara)

----------------------------------------------------------------
David Hildenbrand (18):
      softmmu/physmem: Mark shared anonymous memory RAM_SHARED
      softmmu/physmem: Fix ram_block_discard_range() to handle shared anonymous memory
      softmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory
      util/mmap-alloc: Factor out calculation of the pagesize for the guard page
      util/mmap-alloc: Factor out reserving of a memory region to mmap_reserve()
      util/mmap-alloc: Factor out activating of memory to mmap_activate()
      softmmu/memory: Pass ram_flags to qemu_ram_alloc_from_fd()
      softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate()
      softmmu/memory: Pass ram_flags to qemu_ram_alloc() and qemu_ram_alloc_internal()
      util/mmap-alloc: Pass flags instead of separate bools to qemu_ram_mmap()
      memory: Introduce RAM_NORESERVE and wire it up in qemu_ram_mmap()
      util/mmap-alloc: Support RAM_NORESERVE via MAP_NORESERVE under Linux
      hostmem: Wire up RAM_NORESERVE via "reserve" property
      qmp: Clarify memory backend properties returned via query-memdev
      qmp: Include "share" property of memory backends
      hmp: Print "share" property of memory backends with "info memdev"
      qmp: Include "reserve" property of memory backends
      hmp: Print "reserve" property of memory backends with "info memdev"

David Michael (1):
      configure: map x32 to cpu_family x86_64 for meson

Lara Lazier (4):
      target/i386: Refactored intercept checks into cpu_svm_has_intercept
      target/i386: Added consistency checks for VMRUN intercept and ASID
      target/i386: Added consistency checks for CR0
      target/i386: Added Intercept CR0 writes check

Mark Cave-Ayland (8):
      esp: only assert INTR_DC interrupt flag if selection fails
      esp: only set ESP_RSEQ at the start of the select sequence
      esp: allow non-DMA callback in esp_transfer_data() initial transfer
      esp: handle non-DMA transfers from the target one byte at a time
      esp: ensure PDMA write transfers are flushed from the FIFO to the target immediately
      esp: revert 75ef849696 "esp: correctly fill bus id with requested lun"
      esp: correctly accumulate extended messages for PDMA
      esp: fix migration version check in esp_is_version_5()

Maxim Levitsky (1):
      block/scsi: correctly emulate the VPD block limits page

Paolo Bonzini (3):
      vnc: avoid deprecation warnings for SASL on OS X
      qemu-config: use qemu_opts_from_qdict
      esp: store lun coming from the MESSAGE OUT phase

Peng Liang (1):
      runstate: Initialize Error * to NULL

Richard Henderson (8):
      configure: Use -std=gnu11
      softfloat: Use _Generic instead of QEMU_GENERIC
      util: Use real functions for thread-posix QemuRecMutex
      util: Pass file+line to qemu_rec_mutex_unlock_impl
      util: Use unique type for QemuRecMutex in thread-posix.h
      include/qemu/lockable: Use _Generic instead of QEMU_GENERIC
      qemu/compiler: Remove QEMU_GENERIC
      configure: Remove probe for _Static_assert

Zhenzhong Duan (1):
      vl: Fix an assert failure in error path

 backends/hostmem-file.c                            |  11 +-
 backends/hostmem-memfd.c                           |   8 +-
 backends/hostmem-ram.c                             |   7 +-
 backends/hostmem.c                                 |  36 ++++
 configure                                          |  24 +--
 fpu/softfloat.c                                    |  16 +-
 hw/core/machine-hmp-cmds.c                         |   6 +
 hw/core/machine-qmp-cmds.c                         |   8 +
 hw/m68k/next-cube.c                                |   4 +-
 hw/misc/ivshmem.c                                  |   5 +-
 hw/scsi/esp.c                                      | 199 ++++++++++++-------
 hw/scsi/scsi-generic.c                             |   9 +-
 hw/scsi/trace-events                               |   3 +-
 include/exec/cpu-common.h                          |   1 +
 include/exec/memory.h                              |  42 ++--
 include/exec/ram_addr.h                            |   9 +-
 include/hw/scsi/esp.h                              |   1 +
 include/qemu/compiler.h                            |  51 -----
 include/qemu/lockable.h                            |  90 ++++-----
 include/qemu/mmap-alloc.h                          |  16 +-
 include/qemu/osdep.h                               |  34 +++-
 include/qemu/thread-posix.h                        |  14 +-
 include/qemu/thread-win32.h                        |   6 -
 include/qemu/thread.h                              |  15 +-
 include/sysemu/hostmem.h                           |   2 +-
 meson.build                                        |   2 +-
 migration/ram.c                                    |   3 +-
 qapi/machine.json                                  |  16 +-
 qapi/qom.json                                      |  10 +
 .../coccinelle/memory-region-housekeeping.cocci    |   8 +-
 softmmu/memory.c                                   |  27 ++-
 softmmu/physmem.c                                  |  68 ++++---
 softmmu/runstate.c                                 |   2 +-
 softmmu/vl.c                                       |   2 +-
 target/i386/cpu.h                                  |   6 +
 target/i386/svm.h                                  |   2 +
 target/i386/tcg/sysemu/misc_helper.c               |   9 +
 target/i386/tcg/sysemu/svm_helper.c                | 155 ++++++++-------
 ui/vnc-auth-sasl.c                                 |  20 ++
 ui/vnc-auth-sasl.h                                 |   1 +
 ui/vnc.c                                           |  10 +-
 util/mmap-alloc.c                                  | 212 +++++++++++++++------
 util/oslib-posix.c                                 |   7 +-
 util/oslib-win32.c                                 |  13 +-
 util/qemu-config.c                                 |  17 +-
 util/qemu-thread-posix.c                           |  24 ++-
 util/qemu-thread-win32.c                           |   2 +-
 47 files changed, 757 insertions(+), 476 deletions(-)
-- 
2.31.1


Re: [PULL 00/45] Memory, i386, compilation, bugfix changes for 2021-06-17
Posted by no-reply@patchew.org 2 years, 10 months ago
Patchew URL: https://patchew.org/QEMU/20210617093134.900014-1-pbonzini@redhat.com/



Hi,

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

Type: series
Message-id: 20210617093134.900014-1-pbonzini@redhat.com
Subject: [PULL 00/45] Memory, i386, compilation, bugfix changes for 2021-06-17

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]         patchew/20210617093134.900014-1-pbonzini@redhat.com -> patchew/20210617093134.900014-1-pbonzini@redhat.com
Switched to a new branch 'test'
76c1d1c configure: Remove probe for _Static_assert
bb7b711 qemu/compiler: Remove QEMU_GENERIC
bb5b937 include/qemu/lockable: Use _Generic instead of QEMU_GENERIC
f12590d util: Use unique type for QemuRecMutex in thread-posix.h
bad1bfa util: Pass file+line to qemu_rec_mutex_unlock_impl
cce4c5d util: Use real functions for thread-posix QemuRecMutex
bc05aa3 softfloat: Use _Generic instead of QEMU_GENERIC
f09e1b8 configure: Use -std=gnu11
e3dddf2 target/i386: Added Intercept CR0 writes check
0d849e8 target/i386: Added consistency checks for CR0
76dcd43 target/i386: Added consistency checks for VMRUN intercept and ASID
567459b target/i386: Refactored intercept checks into cpu_svm_has_intercept
b4e527e configure: map x32 to cpu_family x86_64 for meson
8163813 hmp: Print "reserve" property of memory backends with "info memdev"
567770f qmp: Include "reserve" property of memory backends
0512c46 hmp: Print "share" property of memory backends with "info memdev"
11f6aaf qmp: Include "share" property of memory backends
f2bf2ce qmp: Clarify memory backend properties returned via query-memdev
f4a1776 hostmem: Wire up RAM_NORESERVE via "reserve" property
16cee78 util/mmap-alloc: Support RAM_NORESERVE via MAP_NORESERVE under Linux
adf9a93 memory: Introduce RAM_NORESERVE and wire it up in qemu_ram_mmap()
1b69bfd util/mmap-alloc: Pass flags instead of separate bools to qemu_ram_mmap()
a527698 softmmu/memory: Pass ram_flags to qemu_ram_alloc() and qemu_ram_alloc_internal()
4f00790 softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate()
5289155 softmmu/memory: Pass ram_flags to qemu_ram_alloc_from_fd()
8edf57d util/mmap-alloc: Factor out activating of memory to mmap_activate()
991926b util/mmap-alloc: Factor out reserving of a memory region to mmap_reserve()
c3819fc util/mmap-alloc: Factor out calculation of the pagesize for the guard page
917d149 softmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory
9e6a704 softmmu/physmem: Fix ram_block_discard_range() to handle shared anonymous memory
2a1a5ba softmmu/physmem: Mark shared anonymous memory RAM_SHARED
f0c8ef8 esp: store lun coming from the MESSAGE OUT phase
689f708 esp: fix migration version check in esp_is_version_5()
d2adf20 esp: correctly accumulate extended messages for PDMA
26a1d08 esp: revert 75ef849696 "esp: correctly fill bus id with requested lun"
d48286b esp: ensure PDMA write transfers are flushed from the FIFO to the target immediately
195cadb esp: handle non-DMA transfers from the target one byte at a time
cbd0dea esp: allow non-DMA callback in esp_transfer_data() initial transfer
6c54d24 esp: only set ESP_RSEQ at the start of the select sequence
1567f98 esp: only assert INTR_DC interrupt flag if selection fails
2bedf0a runstate: Initialize Error * to NULL
51adfa2 block/scsi: correctly emulate the VPD block limits page
72a6110 qemu-config: use qemu_opts_from_qdict
0c0076a vl: Fix an assert failure in error path
f427609 vnc: avoid deprecation warnings for SASL on OS X

=== OUTPUT BEGIN ===
1/45 Checking commit f42760961c6d (vnc: avoid deprecation warnings for SASL on OS X)
2/45 Checking commit 0c0076a4935e (vl: Fix an assert failure in error path)
3/45 Checking commit 72a6110a41c2 (qemu-config: use qemu_opts_from_qdict)
4/45 Checking commit 51adfa2fb1de (block/scsi: correctly emulate the VPD block limits page)
5/45 Checking commit 2bedf0a004fd (runstate: Initialize Error * to NULL)
6/45 Checking commit 1567f98b866c (esp: only assert INTR_DC interrupt flag if selection fails)
7/45 Checking commit 6c54d2493304 (esp: only set ESP_RSEQ at the start of the select sequence)
8/45 Checking commit cbd0deae8cff (esp: allow non-DMA callback in esp_transfer_data() initial transfer)
9/45 Checking commit 195cadbab65e (esp: handle non-DMA transfers from the target one byte at a time)
10/45 Checking commit d48286bd0534 (esp: ensure PDMA write transfers are flushed from the FIFO to the target immediately)
11/45 Checking commit 26a1d08d933f (esp: revert 75ef849696 "esp: correctly fill bus id with requested lun")
12/45 Checking commit d2adf20b0668 (esp: correctly accumulate extended messages for PDMA)
13/45 Checking commit 689f70888315 (esp: fix migration version check in esp_is_version_5())
14/45 Checking commit f0c8ef85d8c3 (esp: store lun coming from the MESSAGE OUT phase)
15/45 Checking commit 2a1a5ba6a929 (softmmu/physmem: Mark shared anonymous memory RAM_SHARED)
16/45 Checking commit 9e6a70412da8 (softmmu/physmem: Fix ram_block_discard_range() to handle shared anonymous memory)
17/45 Checking commit 917d1492b37c (softmmu/physmem: Fix qemu_ram_remap() to handle shared anonymous memory)
18/45 Checking commit c3819fc58a75 (util/mmap-alloc: Factor out calculation of the pagesize for the guard page)
WARNING: architecture specific defines should be avoided
#33: FILE: util/mmap-alloc.c:87:
+#if defined(__powerpc64__) && defined(__linux__)

total: 0 errors, 1 warnings, 79 lines checked

Patch 18/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
19/45 Checking commit 991926bca089 (util/mmap-alloc: Factor out reserving of a memory region to mmap_reserve())
WARNING: architecture specific defines should be avoided
#39: FILE: util/mmap-alloc.c:93:
+#if defined(__powerpc64__) && defined(__linux__)

total: 0 errors, 1 warnings, 76 lines checked

Patch 19/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
20/45 Checking commit 8edf57d883b5 (util/mmap-alloc: Factor out activating of memory to mmap_activate())
21/45 Checking commit 5289155a8882 (softmmu/memory: Pass ram_flags to qemu_ram_alloc_from_fd())
22/45 Checking commit 4f0079014b3d (softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate())
23/45 Checking commit a52769898b3e (softmmu/memory: Pass ram_flags to qemu_ram_alloc() and qemu_ram_alloc_internal())
24/45 Checking commit 1b69bfd71a31 (util/mmap-alloc: Pass flags instead of separate bools to qemu_ram_mmap())
25/45 Checking commit adf9a9329811 (memory: Introduce RAM_NORESERVE and wire it up in qemu_ram_mmap())
26/45 Checking commit 16cee789337c (util/mmap-alloc: Support RAM_NORESERVE via MAP_NORESERVE under Linux)
WARNING: architecture specific defines should be avoided
#113: FILE: util/mmap-alloc.c:90:
+#if defined(__linux__)

total: 0 errors, 1 warnings, 108 lines checked

Patch 26/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
27/45 Checking commit f4a1776bf512 (hostmem: Wire up RAM_NORESERVE via "reserve" property)
28/45 Checking commit f2bf2cec1eca (qmp: Clarify memory backend properties returned via query-memdev)
29/45 Checking commit 11f6aaf8fa96 (qmp: Include "share" property of memory backends)
30/45 Checking commit 0512c4667293 (hmp: Print "share" property of memory backends with "info memdev")
31/45 Checking commit 567770f5834f (qmp: Include "reserve" property of memory backends)
32/45 Checking commit 8163813a3ee9 (hmp: Print "reserve" property of memory backends with "info memdev")
33/45 Checking commit b4e527ea0246 (configure: map x32 to cpu_family x86_64 for meson)
34/45 Checking commit 567459bb087d (target/i386: Refactored intercept checks into cpu_svm_has_intercept)
35/45 Checking commit 76dcd43c252c (target/i386: Added consistency checks for VMRUN intercept and ASID)
36/45 Checking commit 0d849e8b36ce (target/i386: Added consistency checks for CR0)
37/45 Checking commit e3dddf2cc81b (target/i386: Added Intercept CR0 writes check)
WARNING: Block comments should align the * on each line
#27: FILE: target/i386/tcg/sysemu/misc_helper.c:88:
+        /*
+        * If we reach this point, the CR0 write intercept is disabled.

total: 0 errors, 1 warnings, 15 lines checked

Patch 37/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
38/45 Checking commit f09e1b86bc08 (configure: Use -std=gnu11)
39/45 Checking commit bc05aa3683f2 (softfloat: Use _Generic instead of QEMU_GENERIC)
ERROR: spaces required around that '*' (ctx:WxO)
#26: FILE: fpu/softfloat.c:689:
+    _Generic((P), FloatParts64 *: parts64_##NAME, \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#26: FILE: fpu/softfloat.c:689:
+    _Generic((P), FloatParts64 *: parts64_##NAME, \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#27: FILE: fpu/softfloat.c:690:
+                  FloatParts128 *: parts128_##NAME)
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#27: FILE: fpu/softfloat.c:690:
+                  FloatParts128 *: parts128_##NAME)
                                  ^

ERROR: spaces required around that '*' (ctx:WxO)
#32: FILE: fpu/softfloat.c:693:
+    _Generic((P), FloatParts64 *: parts64_##NAME, \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#32: FILE: fpu/softfloat.c:693:
+    _Generic((P), FloatParts64 *: parts64_##NAME, \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#33: FILE: fpu/softfloat.c:694:
+                  FloatParts128 *: parts128_##NAME, \
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#33: FILE: fpu/softfloat.c:694:
+                  FloatParts128 *: parts128_##NAME, \
                                  ^

ERROR: spaces required around that '*' (ctx:WxO)
#34: FILE: fpu/softfloat.c:695:
+                  FloatParts256 *: parts256_##NAME)
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#34: FILE: fpu/softfloat.c:695:
+                  FloatParts256 *: parts256_##NAME)
                                  ^

ERROR: spaces required around that '*' (ctx:WxO)
#43: FILE: fpu/softfloat.c:897:
+    _Generic((P), FloatParts64 *: frac64_##NAME, \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#43: FILE: fpu/softfloat.c:897:
+    _Generic((P), FloatParts64 *: frac64_##NAME, \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#44: FILE: fpu/softfloat.c:898:
+                  FloatParts128 *: frac128_##NAME)
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#44: FILE: fpu/softfloat.c:898:
+                  FloatParts128 *: frac128_##NAME)
                                  ^

ERROR: spaces required around that '*' (ctx:WxO)
#49: FILE: fpu/softfloat.c:901:
+    _Generic((P), FloatParts64 *: frac64_##NAME, \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#49: FILE: fpu/softfloat.c:901:
+    _Generic((P), FloatParts64 *: frac64_##NAME, \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#50: FILE: fpu/softfloat.c:902:
+                  FloatParts128 *: frac128_##NAME, \
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#50: FILE: fpu/softfloat.c:902:
+                  FloatParts128 *: frac128_##NAME, \
                                  ^

ERROR: spaces required around that '*' (ctx:WxO)
#51: FILE: fpu/softfloat.c:903:
+                  FloatParts256 *: frac256_##NAME)
                                 ^

ERROR: spaces required around that ':' (ctx:OxW)
#51: FILE: fpu/softfloat.c:903:
+                  FloatParts256 *: frac256_##NAME)
                                  ^

total: 20 errors, 0 warnings, 32 lines checked

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

40/45 Checking commit cce4c5d00991 (util: Use real functions for thread-posix QemuRecMutex)
WARNING: line over 80 characters
#67: FILE: include/qemu/thread.h:34:
+int qemu_rec_mutex_trylock_impl(QemuRecMutex *mutex, const char *file, int line);

total: 0 errors, 1 warnings, 69 lines checked

Patch 40/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
41/45 Checking commit bad1bfa87974 (util: Pass file+line to qemu_rec_mutex_unlock_impl)
WARNING: line over 80 characters
#31: FILE: include/qemu/thread.h:35:
+void qemu_rec_mutex_unlock_impl(QemuRecMutex *mutex, const char *file, int line);

total: 0 errors, 1 warnings, 47 lines checked

Patch 41/45 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
42/45 Checking commit f12590d5a5e1 (util: Use unique type for QemuRecMutex in thread-posix.h)
43/45 Checking commit bb5b9371bfe0 (include/qemu/lockable: Use _Generic instead of QEMU_GENERIC)
ERROR: spaces required around that '*' (ctx:WxO)
#121: FILE: include/qemu/lockable.h:70:
+    _Generic((x), QemuLockable *: (x),                                  \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#121: FILE: include/qemu/lockable.h:70:
+    _Generic((x), QemuLockable *: (x),                                  \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#122: FILE: include/qemu/lockable.h:71:
+             void *: qemu_null_lockable(x),                             \
                   ^

ERROR: spaces required around that ':' (ctx:OxW)
#122: FILE: include/qemu/lockable.h:71:
+             void *: qemu_null_lockable(x),                             \
                    ^

ERROR: spaces required around that '*' (ctx:WxO)
#123: FILE: include/qemu/lockable.h:72:
+             QemuMutex *: qemu_make_lockable(x, QML_OBJ_(x, mutex)),    \
                        ^

ERROR: spaces required around that ':' (ctx:OxW)
#123: FILE: include/qemu/lockable.h:72:
+             QemuMutex *: qemu_make_lockable(x, QML_OBJ_(x, mutex)),    \
                         ^

ERROR: spaces required around that '*' (ctx:WxO)
#124: FILE: include/qemu/lockable.h:73:
+             QemuRecMutex *: qemu_make_lockable(x, QML_OBJ_(x, rec_mutex)), \
                           ^

ERROR: spaces required around that ':' (ctx:OxW)
#124: FILE: include/qemu/lockable.h:73:
+             QemuRecMutex *: qemu_make_lockable(x, QML_OBJ_(x, rec_mutex)), \
                            ^

ERROR: spaces required around that '*' (ctx:WxO)
#125: FILE: include/qemu/lockable.h:74:
+             CoMutex *: qemu_make_lockable(x, QML_OBJ_(x, co_mutex)),   \
                      ^

ERROR: spaces required around that ':' (ctx:OxW)
#125: FILE: include/qemu/lockable.h:74:
+             CoMutex *: qemu_make_lockable(x, QML_OBJ_(x, co_mutex)),   \
                       ^

ERROR: spaces required around that '*' (ctx:WxO)
#126: FILE: include/qemu/lockable.h:75:
+             QemuSpin *: qemu_make_lockable(x, QML_OBJ_(x, spin)))
                       ^

ERROR: spaces required around that ':' (ctx:OxW)
#126: FILE: include/qemu/lockable.h:75:
+             QemuSpin *: qemu_make_lockable(x, QML_OBJ_(x, spin)))
                        ^

ERROR: spaces required around that '*' (ctx:WxO)
#142: FILE: include/qemu/lockable.h:87:
+    _Generic((x), QemuLockable *: (x),                          \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#142: FILE: include/qemu/lockable.h:87:
+    _Generic((x), QemuLockable *: (x),                          \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#143: FILE: include/qemu/lockable.h:88:
+                  QemuMutex *: QML_OBJ_(x, mutex),              \
                             ^

ERROR: spaces required around that ':' (ctx:OxW)
#143: FILE: include/qemu/lockable.h:88:
+                  QemuMutex *: QML_OBJ_(x, mutex),              \
                              ^

ERROR: spaces required around that '*' (ctx:WxO)
#144: FILE: include/qemu/lockable.h:89:
+                  QemuRecMutex *: QML_OBJ_(x, rec_mutex),       \
                                ^

ERROR: spaces required around that ':' (ctx:OxW)
#144: FILE: include/qemu/lockable.h:89:
+                  QemuRecMutex *: QML_OBJ_(x, rec_mutex),       \
                                 ^

ERROR: spaces required around that '*' (ctx:WxO)
#145: FILE: include/qemu/lockable.h:90:
+                  CoMutex *: QML_OBJ_(x, co_mutex),             \
                           ^

ERROR: spaces required around that ':' (ctx:OxW)
#145: FILE: include/qemu/lockable.h:90:
+                  CoMutex *: QML_OBJ_(x, co_mutex),             \
                            ^

ERROR: spaces required around that '*' (ctx:WxO)
#146: FILE: include/qemu/lockable.h:91:
+                  QemuSpin *: QML_OBJ_(x, spin))
                            ^

ERROR: spaces required around that ':' (ctx:OxW)
#146: FILE: include/qemu/lockable.h:91:
+                  QemuSpin *: QML_OBJ_(x, spin))
                             ^

total: 22 errors, 0 warnings, 120 lines checked

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

44/45 Checking commit bb7b711069b8 (qemu/compiler: Remove QEMU_GENERIC)
45/45 Checking commit 76c1d1c235e8 (configure: Remove probe for _Static_assert)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/20210617093134.900014-1-pbonzini@redhat.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
Re: [PULL 00/45] Memory, i386, compilation, bugfix changes for 2021-06-17
Posted by Peter Maydell 2 years, 10 months ago
On Thu, 17 Jun 2021 at 10:36, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2:
>
>   Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to f51f8e3591393f7f274e1435ac22188e2dafdfe8:
>
>   configure: Remove probe for _Static_assert (2021-06-16 15:03:26 +0200)
>
> ----------------------------------------------------------------
> * avoid deprecation warnings for SASL on macOS 10.11 or newer
> * fix -readconfig when config blocks have an id (like [chardev "qmp"])
> * Error* initialization fixes
> * Improvements to ESP emulation (Mark)
> * Allow creating noreserve memory backends (David)
> * Improvements to query-memdev (David)
> * Bump compiler to C11 (Richard)
> * First round of SVM fixes from GSoC project (Lara)


Applied, thanks. (Richard sent his C11 set as a separate pull,
but git seems to have coped with the merge.)

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM