[PATCH 00/41] Misc cleanups

marcandre.lureau@redhat.com posted 41 patches 2 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220420132624.2439741-1-marcandre.lureau@redhat.com
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, Stefan Hajnoczi <stefanha@redhat.com>, Beniamino Galvani <b.galvani@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Antony Pavlov <antonynpavlov@gmail.com>, Igor Mitsyanko <i.mitsyanko@gmail.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Markus Armbruster <armbru@redhat.com>, Laurent Vivier <laurent@vivier.eu>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Michael Roth <michael.roth@amd.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <v.sementsov-og@mail.ru>, Konstantin Kostiuk <kkostiuk@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Fam Zheng <fam@euphon.net>, Taylor Simpson <tsimpson@quicinc.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Chris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>, Stafford Horne <shorne@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, David Hildenbrand <david@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Max Filippov <jcmvbkbc@gmail.com>, "Alex Bennée" <alex.bennee@linaro.org>, John Snow <jsnow@redhat.com>, Alexander Bulekov <alxndr@bu.edu>, Bandan Das <bsd@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, Akihiko Odaki <akihiko.odaki@gmail.com>, Gerd Hoffmann <kraxel@redhat.com>, Stefan Weil <sw@weilnetz.de>
There is a newer version of this series
docs/about/build-platforms.rst               |  10 +
docs/devel/qtest.rst                         |   4 +-
docs/devel/style.rst                         |   2 +-
docs/devel/tracing.rst                       |   2 +-
configure                                    |  16 --
accel/tcg/internal.h                         |   3 +-
include/block/qdict.h                        |   3 +
include/exec/exec-all.h                      |  20 +-
include/exec/helper-head.h                   |   2 +-
include/glib-compat.h                        |  12 +-
include/hw/core/cpu.h                        |   2 +-
include/hw/core/tcg-cpu-ops.h                |   6 +-
include/hw/hw.h                              |   2 +-
include/monitor/monitor.h                    |   3 +
include/qapi/qmp/qdict.h                     |   3 -
include/qemu-main.h                          |  10 +
include/qemu/atomic.h                        |   8 +-
include/qemu/compiler.h                      |  26 +--
include/{qemu-common.h => qemu/copyright.h}  |   5 -
include/qemu/cutils.h                        |   9 +-
include/qemu/error-report.h                  |   2 -
include/qemu/keyval.h                        |  14 ++
include/qemu/option.h                        |   6 -
include/qemu/osdep.h                         |  51 ++--
include/qemu/thread.h                        |   2 +-
include/tcg/tcg-ldst.h                       |   4 +-
include/tcg/tcg.h                            |   2 +-
linux-user/user-internals.h                  |   2 +-
qga/commands-common.h                        |  11 +
scripts/cocci-macro-file.h                   |   2 +-
subprojects/libvhost-user/include/compiler.h |   1 +
target/alpha/cpu.h                           |  10 +-
target/arm/internals.h                       |  12 +-
target/hppa/cpu.h                            |   2 +-
target/i386/tcg/helper-tcg.h                 |  24 +-
target/microblaze/cpu.h                      |   6 +-
target/mips/tcg/tcg-internal.h               |  17 +-
target/nios2/cpu.h                           |   6 +-
target/openrisc/exception.h                  |   2 +-
target/ppc/cpu.h                             |  14 +-
target/ppc/internal.h                        |   6 +-
target/riscv/cpu.h                           |  10 +-
target/s390x/s390x-internal.h                |   6 +-
target/s390x/tcg/tcg_s390x.h                 |  12 +-
target/sh4/cpu.h                             |   6 +-
target/sparc/cpu.h                           |  10 +-
target/xtensa/cpu.h                          |   6 +-
tests/qtest/libqos/libqmp.h                  |  50 ++++
tests/qtest/libqos/libqtest.h                |  29 +--
accel/stubs/tcg-stub.c                       |   4 +-
bsd-user/main.c                              |   2 +-
bsd-user/signal.c                            |   3 +-
hw/arm/allwinner-a10.c                       |   4 +-
hw/arm/digic.c                               |   5 +-
hw/hyperv/syndbg.c                           |   1 -
hw/intc/exynos4210_gic.c                     |   9 +-
hw/misc/mips_itu.c                           |   3 +-
linux-user/main.c                            |   2 +-
linux-user/signal.c                          |   3 +-
migration/ram.c                              |   2 +-
monitor/hmp.c                                |   4 +-
monitor/monitor.c                            |  10 +
qapi/qobject-input-visitor.c                 |   2 +-
qemu-img.c                                   |  14 +-
qemu-io.c                                    |   3 +-
qemu-nbd.c                                   |   2 +-
qga/commands-posix.c                         |  35 +++
qga/commands-win32.c                         |  13 ++
qga/commands.c                               |  14 +-
qga/main.c                                   |  19 +-
qom/object_interfaces.c                      |   1 +
scsi/qemu-pr-helper.c                        |   8 +-
softmmu/main.c                               |  25 +-
softmmu/vl.c                                 |   4 +-
storage-daemon/qemu-storage-daemon.c         |   3 +-
stubs/error-printf.c                         |   1 +
target/alpha/helper.c                        |  10 +-
target/arm/pauth_helper.c                    |   4 +-
target/arm/tlb_helper.c                      |   7 +-
target/hexagon/op_helper.c                   |   9 +-
target/hppa/cpu.c                            |   8 +-
target/hppa/op_helper.c                      |   4 +-
target/i386/tcg/bpt_helper.c                 |   2 +-
target/i386/tcg/excp_helper.c                |  31 +--
target/i386/tcg/misc_helper.c                |   6 +-
target/i386/tcg/sysemu/misc_helper.c         |   7 +-
target/openrisc/exception.c                  |   2 +-
target/openrisc/exception_helper.c           |   3 +-
target/riscv/op_helper.c                     |   4 +-
target/rx/op_helper.c                        |  22 +-
target/s390x/tcg/excp_helper.c               |  22 +-
target/sh4/op_helper.c                       |   5 +-
target/sparc/mmu_helper.c                    |   8 +-
target/tricore/op_helper.c                   |   6 +-
tcg/tcg.c                                    |   3 +-
tests/fp/fp-bench.c                          |   3 +-
tests/fp/fp-test.c                           |   3 +-
tests/qtest/fdc-test.c                       |   2 +-
tests/qtest/fuzz/fuzz.c                      |   1 +
tests/qtest/fuzz/generic_fuzz.c              |   2 -
tests/qtest/libqos/libqmp.c                  | 230 +++++++++++++++++++
tests/qtest/{ => libqos}/libqtest.c          | 222 +-----------------
tests/unit/check-qobject.c                   |   7 -
tests/unit/check-qom-proplist.c              |   1 +
tests/unit/test-forward-visitor.c            |   2 +-
tests/unit/test-keyval.c                     |   2 +-
tests/unit/test-qga.c                        |   7 +
tools/virtiofsd/fuse_virtio.c                |   4 +-
tools/virtiofsd/passthrough_ll.c             |   2 +-
ui/vnc.c                                     |   1 +
util/compatfd.c                              |  18 +-
util/coroutine-ucontext.c                    |   2 +-
util/cutils.c                                | 163 ++++++++-----
util/error-report.c                          |  17 +-
util/keyval.c                                |   2 +-
util/osdep.c                                 |  16 ++
util/oslib-posix.c                           | 146 ++----------
util/oslib-win32.c                           |  64 +-----
qga/installer/qemu-ga.wxs                    |  24 +-
qga/meson.build                              |   5 +-
scripts/analyze-inclusions                   |   4 -
scripts/checkpatch.pl                        |   2 +-
tests/qtest/libqos/meson.build               |   5 +-
tests/unit/meson.build                       |   4 +-
ui/cocoa.m                                   |   3 +-
125 files changed, 914 insertions(+), 882 deletions(-)
create mode 100644 include/qemu-main.h
rename include/{qemu-common.h => qemu/copyright.h} (80%)
create mode 100644 include/qemu/keyval.h
create mode 120000 subprojects/libvhost-user/include/compiler.h
create mode 100644 tests/qtest/libqos/libqmp.h
create mode 100644 tests/qtest/libqos/libqmp.c
rename tests/qtest/{ => libqos}/libqtest.c (87%)
[PATCH 00/41] Misc cleanups
Posted by marcandre.lureau@redhat.com 2 years ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Another batch of cleanup patches, mostly while working on moving the common code
in some future subprojects. (a few patches have been posted and reviewed
earlier)

Marc-André Lureau (41):
  qga: use fixed-length for usecs formatting
  glib-compat: isolate g_date_time_format_iso8601 version-bypass
  scripts/analyze-inclusions: drop qemu-common.h from analysis
  Simplify softmmu/main.c
  hw/hyperv: remove needless qemu-common.h include
  include: rename qemu-common.h qemu/copyright.h
  build-sys: remove MSI's QEMU_GA_MSI_MINGW_DLL_PATH
  build-sys: simplify MSI's QEMU_GA_MANUFACTURER
  build-sys: simplify MSI's QEMU_GA_VERSION
  build-sys: drop MSI's QEMU_GA_DISTRO
  qga: replace usleep() with g_usleep()
  docs: trace-events-all is installed without renaming
  arm/digic: replace snprintf() with g_strdup_printf()
  arm/allwinner-a10: replace snprintf() with g_strdup_printf()
  intc/exynos4210_gic: replace snprintf() with g_strdup_printf()
  doc/style: CLang -> Clang
  doc/build-platforms: document supported compilers
  osdep.h: move qemu_build_not_reached()
  compiler.h: replace QEMU_NORETURN with G_NORETURN
  include: move qemu_msync() to osdep
  include: move qemu_fdatasync() to osdep
  include: move qemu_*_exec_dir() to cutils
  include: add qemu/keyval.h
  include: move qdict_{crumple,flatten} declarations
  tests: remove block/qdict checks from check-qobject.c
  compiler.h: add QEMU_SANITIZE_{ADDRESS,THREAD}
  Use QEMU_SANITIZE_THREAD
  Use QEMU_SANITIZE_ADDRESS
  tests: run-time skip test-qga if TSAN is enabled
  Move error_printf_unless_qmp() with monitor unit
  qga: move qga_get_host_name()
  qtest: simplify socket_send()
  tests: move libqtest.c under libqos/
  libqtest: split QMP part in libqmp
  util: simplify write in signal handler
  util: use qemu_write_full() in qemu_write_pidfile()
  util: use qemu_create() in qemu_write_pidfile()
  util: replace qemu_get_local_state_pathname()
  qga: remove need for QEMU atomic.h
  migration/ram: fix clang warning
  tests/fuzz: fix warning

 docs/about/build-platforms.rst               |  10 +
 docs/devel/qtest.rst                         |   4 +-
 docs/devel/style.rst                         |   2 +-
 docs/devel/tracing.rst                       |   2 +-
 configure                                    |  16 --
 accel/tcg/internal.h                         |   3 +-
 include/block/qdict.h                        |   3 +
 include/exec/exec-all.h                      |  20 +-
 include/exec/helper-head.h                   |   2 +-
 include/glib-compat.h                        |  12 +-
 include/hw/core/cpu.h                        |   2 +-
 include/hw/core/tcg-cpu-ops.h                |   6 +-
 include/hw/hw.h                              |   2 +-
 include/monitor/monitor.h                    |   3 +
 include/qapi/qmp/qdict.h                     |   3 -
 include/qemu-main.h                          |  10 +
 include/qemu/atomic.h                        |   8 +-
 include/qemu/compiler.h                      |  26 +--
 include/{qemu-common.h => qemu/copyright.h}  |   5 -
 include/qemu/cutils.h                        |   9 +-
 include/qemu/error-report.h                  |   2 -
 include/qemu/keyval.h                        |  14 ++
 include/qemu/option.h                        |   6 -
 include/qemu/osdep.h                         |  51 ++--
 include/qemu/thread.h                        |   2 +-
 include/tcg/tcg-ldst.h                       |   4 +-
 include/tcg/tcg.h                            |   2 +-
 linux-user/user-internals.h                  |   2 +-
 qga/commands-common.h                        |  11 +
 scripts/cocci-macro-file.h                   |   2 +-
 subprojects/libvhost-user/include/compiler.h |   1 +
 target/alpha/cpu.h                           |  10 +-
 target/arm/internals.h                       |  12 +-
 target/hppa/cpu.h                            |   2 +-
 target/i386/tcg/helper-tcg.h                 |  24 +-
 target/microblaze/cpu.h                      |   6 +-
 target/mips/tcg/tcg-internal.h               |  17 +-
 target/nios2/cpu.h                           |   6 +-
 target/openrisc/exception.h                  |   2 +-
 target/ppc/cpu.h                             |  14 +-
 target/ppc/internal.h                        |   6 +-
 target/riscv/cpu.h                           |  10 +-
 target/s390x/s390x-internal.h                |   6 +-
 target/s390x/tcg/tcg_s390x.h                 |  12 +-
 target/sh4/cpu.h                             |   6 +-
 target/sparc/cpu.h                           |  10 +-
 target/xtensa/cpu.h                          |   6 +-
 tests/qtest/libqos/libqmp.h                  |  50 ++++
 tests/qtest/libqos/libqtest.h                |  29 +--
 accel/stubs/tcg-stub.c                       |   4 +-
 bsd-user/main.c                              |   2 +-
 bsd-user/signal.c                            |   3 +-
 hw/arm/allwinner-a10.c                       |   4 +-
 hw/arm/digic.c                               |   5 +-
 hw/hyperv/syndbg.c                           |   1 -
 hw/intc/exynos4210_gic.c                     |   9 +-
 hw/misc/mips_itu.c                           |   3 +-
 linux-user/main.c                            |   2 +-
 linux-user/signal.c                          |   3 +-
 migration/ram.c                              |   2 +-
 monitor/hmp.c                                |   4 +-
 monitor/monitor.c                            |  10 +
 qapi/qobject-input-visitor.c                 |   2 +-
 qemu-img.c                                   |  14 +-
 qemu-io.c                                    |   3 +-
 qemu-nbd.c                                   |   2 +-
 qga/commands-posix.c                         |  35 +++
 qga/commands-win32.c                         |  13 ++
 qga/commands.c                               |  14 +-
 qga/main.c                                   |  19 +-
 qom/object_interfaces.c                      |   1 +
 scsi/qemu-pr-helper.c                        |   8 +-
 softmmu/main.c                               |  25 +-
 softmmu/vl.c                                 |   4 +-
 storage-daemon/qemu-storage-daemon.c         |   3 +-
 stubs/error-printf.c                         |   1 +
 target/alpha/helper.c                        |  10 +-
 target/arm/pauth_helper.c                    |   4 +-
 target/arm/tlb_helper.c                      |   7 +-
 target/hexagon/op_helper.c                   |   9 +-
 target/hppa/cpu.c                            |   8 +-
 target/hppa/op_helper.c                      |   4 +-
 target/i386/tcg/bpt_helper.c                 |   2 +-
 target/i386/tcg/excp_helper.c                |  31 +--
 target/i386/tcg/misc_helper.c                |   6 +-
 target/i386/tcg/sysemu/misc_helper.c         |   7 +-
 target/openrisc/exception.c                  |   2 +-
 target/openrisc/exception_helper.c           |   3 +-
 target/riscv/op_helper.c                     |   4 +-
 target/rx/op_helper.c                        |  22 +-
 target/s390x/tcg/excp_helper.c               |  22 +-
 target/sh4/op_helper.c                       |   5 +-
 target/sparc/mmu_helper.c                    |   8 +-
 target/tricore/op_helper.c                   |   6 +-
 tcg/tcg.c                                    |   3 +-
 tests/fp/fp-bench.c                          |   3 +-
 tests/fp/fp-test.c                           |   3 +-
 tests/qtest/fdc-test.c                       |   2 +-
 tests/qtest/fuzz/fuzz.c                      |   1 +
 tests/qtest/fuzz/generic_fuzz.c              |   2 -
 tests/qtest/libqos/libqmp.c                  | 230 +++++++++++++++++++
 tests/qtest/{ => libqos}/libqtest.c          | 222 +-----------------
 tests/unit/check-qobject.c                   |   7 -
 tests/unit/check-qom-proplist.c              |   1 +
 tests/unit/test-forward-visitor.c            |   2 +-
 tests/unit/test-keyval.c                     |   2 +-
 tests/unit/test-qga.c                        |   7 +
 tools/virtiofsd/fuse_virtio.c                |   4 +-
 tools/virtiofsd/passthrough_ll.c             |   2 +-
 ui/vnc.c                                     |   1 +
 util/compatfd.c                              |  18 +-
 util/coroutine-ucontext.c                    |   2 +-
 util/cutils.c                                | 163 ++++++++-----
 util/error-report.c                          |  17 +-
 util/keyval.c                                |   2 +-
 util/osdep.c                                 |  16 ++
 util/oslib-posix.c                           | 146 ++----------
 util/oslib-win32.c                           |  64 +-----
 qga/installer/qemu-ga.wxs                    |  24 +-
 qga/meson.build                              |   5 +-
 scripts/analyze-inclusions                   |   4 -
 scripts/checkpatch.pl                        |   2 +-
 tests/qtest/libqos/meson.build               |   5 +-
 tests/unit/meson.build                       |   4 +-
 ui/cocoa.m                                   |   3 +-
 125 files changed, 914 insertions(+), 882 deletions(-)
 create mode 100644 include/qemu-main.h
 rename include/{qemu-common.h => qemu/copyright.h} (80%)
 create mode 100644 include/qemu/keyval.h
 create mode 120000 subprojects/libvhost-user/include/compiler.h
 create mode 100644 tests/qtest/libqos/libqmp.h
 create mode 100644 tests/qtest/libqos/libqmp.c
 rename tests/qtest/{ => libqos}/libqtest.c (87%)

-- 
2.35.1.693.g805e0a68082a


Re: [PATCH 00/41] Misc cleanups
Posted by Thomas Huth 2 years ago
On 20/04/2022 15.25, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Hi,
> 
> Another batch of cleanup patches, mostly while working on moving the common code
> in some future subprojects. (a few patches have been posted and reviewed
> earlier)
> 
> Marc-André Lureau (41):
>    qga: use fixed-length for usecs formatting
>    glib-compat: isolate g_date_time_format_iso8601 version-bypass
>    scripts/analyze-inclusions: drop qemu-common.h from analysis
>    Simplify softmmu/main.c
>    hw/hyperv: remove needless qemu-common.h include
>    include: rename qemu-common.h qemu/copyright.h
>    build-sys: remove MSI's QEMU_GA_MSI_MINGW_DLL_PATH
>    build-sys: simplify MSI's QEMU_GA_MANUFACTURER
>    build-sys: simplify MSI's QEMU_GA_VERSION
>    build-sys: drop MSI's QEMU_GA_DISTRO
>    qga: replace usleep() with g_usleep()
>    docs: trace-events-all is installed without renaming
>    arm/digic: replace snprintf() with g_strdup_printf()
>    arm/allwinner-a10: replace snprintf() with g_strdup_printf()
>    intc/exynos4210_gic: replace snprintf() with g_strdup_printf()
>    doc/style: CLang -> Clang
>    doc/build-platforms: document supported compilers
>    osdep.h: move qemu_build_not_reached()
>    compiler.h: replace QEMU_NORETURN with G_NORETURN
>    include: move qemu_msync() to osdep
>    include: move qemu_fdatasync() to osdep
>    include: move qemu_*_exec_dir() to cutils
>    include: add qemu/keyval.h
>    include: move qdict_{crumple,flatten} declarations
>    tests: remove block/qdict checks from check-qobject.c
>    compiler.h: add QEMU_SANITIZE_{ADDRESS,THREAD}
>    Use QEMU_SANITIZE_THREAD
>    Use QEMU_SANITIZE_ADDRESS
>    tests: run-time skip test-qga if TSAN is enabled
>    Move error_printf_unless_qmp() with monitor unit
>    qga: move qga_get_host_name()
>    qtest: simplify socket_send()
>    tests: move libqtest.c under libqos/
>    libqtest: split QMP part in libqmp
>    util: simplify write in signal handler
>    util: use qemu_write_full() in qemu_write_pidfile()
>    util: use qemu_create() in qemu_write_pidfile()
>    util: replace qemu_get_local_state_pathname()
>    qga: remove need for QEMU atomic.h
>    migration/ram: fix clang warning
>    tests/fuzz: fix warning
> 
>   docs/about/build-platforms.rst               |  10 +
>   docs/devel/qtest.rst                         |   4 +-
>   docs/devel/style.rst                         |   2 +-
>   docs/devel/tracing.rst                       |   2 +-
>   configure                                    |  16 --
>   accel/tcg/internal.h                         |   3 +-
>   include/block/qdict.h                        |   3 +
>   include/exec/exec-all.h                      |  20 +-
>   include/exec/helper-head.h                   |   2 +-
>   include/glib-compat.h                        |  12 +-
>   include/hw/core/cpu.h                        |   2 +-
>   include/hw/core/tcg-cpu-ops.h                |   6 +-
>   include/hw/hw.h                              |   2 +-
>   include/monitor/monitor.h                    |   3 +
>   include/qapi/qmp/qdict.h                     |   3 -
>   include/qemu-main.h                          |  10 +
>   include/qemu/atomic.h                        |   8 +-
>   include/qemu/compiler.h                      |  26 +--
>   include/{qemu-common.h => qemu/copyright.h}  |   5 -
>   include/qemu/cutils.h                        |   9 +-
>   include/qemu/error-report.h                  |   2 -
>   include/qemu/keyval.h                        |  14 ++
>   include/qemu/option.h                        |   6 -
>   include/qemu/osdep.h                         |  51 ++--
>   include/qemu/thread.h                        |   2 +-
>   include/tcg/tcg-ldst.h                       |   4 +-
>   include/tcg/tcg.h                            |   2 +-
>   linux-user/user-internals.h                  |   2 +-
>   qga/commands-common.h                        |  11 +
>   scripts/cocci-macro-file.h                   |   2 +-
>   subprojects/libvhost-user/include/compiler.h |   1 +
>   target/alpha/cpu.h                           |  10 +-
>   target/arm/internals.h                       |  12 +-
>   target/hppa/cpu.h                            |   2 +-
>   target/i386/tcg/helper-tcg.h                 |  24 +-
>   target/microblaze/cpu.h                      |   6 +-
>   target/mips/tcg/tcg-internal.h               |  17 +-
>   target/nios2/cpu.h                           |   6 +-
>   target/openrisc/exception.h                  |   2 +-
>   target/ppc/cpu.h                             |  14 +-
>   target/ppc/internal.h                        |   6 +-
>   target/riscv/cpu.h                           |  10 +-
>   target/s390x/s390x-internal.h                |   6 +-
>   target/s390x/tcg/tcg_s390x.h                 |  12 +-
>   target/sh4/cpu.h                             |   6 +-
>   target/sparc/cpu.h                           |  10 +-
>   target/xtensa/cpu.h                          |   6 +-
>   tests/qtest/libqos/libqmp.h                  |  50 ++++
>   tests/qtest/libqos/libqtest.h                |  29 +--
>   accel/stubs/tcg-stub.c                       |   4 +-
>   bsd-user/main.c                              |   2 +-
>   bsd-user/signal.c                            |   3 +-
>   hw/arm/allwinner-a10.c                       |   4 +-
>   hw/arm/digic.c                               |   5 +-
>   hw/hyperv/syndbg.c                           |   1 -
>   hw/intc/exynos4210_gic.c                     |   9 +-
>   hw/misc/mips_itu.c                           |   3 +-
>   linux-user/main.c                            |   2 +-
>   linux-user/signal.c                          |   3 +-
>   migration/ram.c                              |   2 +-
>   monitor/hmp.c                                |   4 +-
>   monitor/monitor.c                            |  10 +
>   qapi/qobject-input-visitor.c                 |   2 +-
>   qemu-img.c                                   |  14 +-
>   qemu-io.c                                    |   3 +-
>   qemu-nbd.c                                   |   2 +-
>   qga/commands-posix.c                         |  35 +++
>   qga/commands-win32.c                         |  13 ++
>   qga/commands.c                               |  14 +-
>   qga/main.c                                   |  19 +-
>   qom/object_interfaces.c                      |   1 +
>   scsi/qemu-pr-helper.c                        |   8 +-
>   softmmu/main.c                               |  25 +-
>   softmmu/vl.c                                 |   4 +-
>   storage-daemon/qemu-storage-daemon.c         |   3 +-
>   stubs/error-printf.c                         |   1 +
>   target/alpha/helper.c                        |  10 +-
>   target/arm/pauth_helper.c                    |   4 +-
>   target/arm/tlb_helper.c                      |   7 +-
>   target/hexagon/op_helper.c                   |   9 +-
>   target/hppa/cpu.c                            |   8 +-
>   target/hppa/op_helper.c                      |   4 +-
>   target/i386/tcg/bpt_helper.c                 |   2 +-
>   target/i386/tcg/excp_helper.c                |  31 +--
>   target/i386/tcg/misc_helper.c                |   6 +-
>   target/i386/tcg/sysemu/misc_helper.c         |   7 +-
>   target/openrisc/exception.c                  |   2 +-
>   target/openrisc/exception_helper.c           |   3 +-
>   target/riscv/op_helper.c                     |   4 +-
>   target/rx/op_helper.c                        |  22 +-
>   target/s390x/tcg/excp_helper.c               |  22 +-
>   target/sh4/op_helper.c                       |   5 +-
>   target/sparc/mmu_helper.c                    |   8 +-
>   target/tricore/op_helper.c                   |   6 +-
>   tcg/tcg.c                                    |   3 +-
>   tests/fp/fp-bench.c                          |   3 +-
>   tests/fp/fp-test.c                           |   3 +-
>   tests/qtest/fdc-test.c                       |   2 +-
>   tests/qtest/fuzz/fuzz.c                      |   1 +
>   tests/qtest/fuzz/generic_fuzz.c              |   2 -
>   tests/qtest/libqos/libqmp.c                  | 230 +++++++++++++++++++
>   tests/qtest/{ => libqos}/libqtest.c          | 222 +-----------------
>   tests/unit/check-qobject.c                   |   7 -
>   tests/unit/check-qom-proplist.c              |   1 +
>   tests/unit/test-forward-visitor.c            |   2 +-
>   tests/unit/test-keyval.c                     |   2 +-
>   tests/unit/test-qga.c                        |   7 +
>   tools/virtiofsd/fuse_virtio.c                |   4 +-
>   tools/virtiofsd/passthrough_ll.c             |   2 +-
>   ui/vnc.c                                     |   1 +
>   util/compatfd.c                              |  18 +-
>   util/coroutine-ucontext.c                    |   2 +-
>   util/cutils.c                                | 163 ++++++++-----
>   util/error-report.c                          |  17 +-
>   util/keyval.c                                |   2 +-
>   util/osdep.c                                 |  16 ++
>   util/oslib-posix.c                           | 146 ++----------
>   util/oslib-win32.c                           |  64 +-----
>   qga/installer/qemu-ga.wxs                    |  24 +-
>   qga/meson.build                              |   5 +-
>   scripts/analyze-inclusions                   |   4 -
>   scripts/checkpatch.pl                        |   2 +-
>   tests/qtest/libqos/meson.build               |   5 +-
>   tests/unit/meson.build                       |   4 +-
>   ui/cocoa.m                                   |   3 +-

This series has become really too big, touching too many different topics 
... please split it by sub-topics and/or maintenance areas.

  Thomas