All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/41] Misc cleanups
@ 2022-04-20 13:25 marcandre.lureau
  2022-04-20 13:25 ` [PATCH 01/41] qga: use fixed-length for usecs formatting marcandre.lureau
                   ` (41 more replies)
  0 siblings, 42 replies; 124+ messages in thread
From: marcandre.lureau @ 2022-04-20 13:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau

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



^ permalink raw reply	[flat|nested] 124+ messages in thread

end of thread, other threads:[~2023-04-07 17:16 UTC | newest]

Thread overview: 124+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 13:25 [PATCH 00/41] Misc cleanups marcandre.lureau
2022-04-20 13:25 ` [PATCH 01/41] qga: use fixed-length for usecs formatting marcandre.lureau
2022-04-20 14:26   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 02/41] glib-compat: isolate g_date_time_format_iso8601 version-bypass marcandre.lureau
2022-04-20 14:32   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 03/41] scripts/analyze-inclusions: drop qemu-common.h from analysis marcandre.lureau
2022-04-20 14:32   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 04/41] Simplify softmmu/main.c marcandre.lureau
2022-04-20 14:55   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 05/41] hw/hyperv: remove needless qemu-common.h include marcandre.lureau
2022-04-20 15:01   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 06/41] include: rename qemu-common.h qemu/copyright.h marcandre.lureau
2022-04-20 13:25   ` [Virtio-fs] " marcandre.lureau
2022-04-20 14:23   ` Warner Losh
2022-04-20 14:23     ` [Virtio-fs] " Warner Losh
2022-04-20 15:04   ` Daniel P. Berrangé
2022-04-20 15:04     ` [Virtio-fs] " Daniel P. Berrangé
2022-04-20 15:21     ` Marc-André Lureau
2022-04-20 15:21       ` [Virtio-fs] " Marc-André Lureau
2022-04-20 16:10     ` Peter Maydell
2022-04-20 16:10       ` [Virtio-fs] " Peter Maydell
2022-04-20 16:13       ` Daniel P. Berrangé
2022-04-20 16:13         ` [Virtio-fs] " Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 07/41] build-sys: remove MSI's QEMU_GA_MSI_MINGW_DLL_PATH marcandre.lureau
2022-04-20 15:00   ` Konstantin Kostiuk
2022-04-20 15:10   ` Daniel P. Berrangé
2022-04-20 15:12   ` Paolo Bonzini
2022-04-20 13:25 ` [PATCH 08/41] build-sys: simplify MSI's QEMU_GA_MANUFACTURER marcandre.lureau
2022-04-20 13:48   ` Konstantin Kostiuk
2022-04-20 15:14     ` Daniel P. Berrangé
2022-04-20 16:36       ` Paolo Bonzini
2022-04-20 13:25 ` [PATCH 09/41] build-sys: simplify MSI's QEMU_GA_VERSION marcandre.lureau
2022-04-20 13:25 ` [PATCH 10/41] build-sys: drop MSI's QEMU_GA_DISTRO marcandre.lureau
2022-04-20 13:25 ` [PATCH 11/41] qga: replace usleep() with g_usleep() marcandre.lureau
2022-04-20 15:16   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 12/41] docs: trace-events-all is installed without renaming marcandre.lureau
2022-04-20 15:16   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 13/41] arm/digic: replace snprintf() with g_strdup_printf() marcandre.lureau
2022-04-20 15:17   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 14/41] arm/allwinner-a10: " marcandre.lureau
2022-04-20 15:17   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 15/41] intc/exynos4210_gic: " marcandre.lureau
2022-04-20 15:19   ` Daniel P. Berrangé
2022-04-20 13:25 ` [PATCH 16/41] doc/style: CLang -> Clang marcandre.lureau
2022-04-20 15:20   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 17/41] doc/build-platforms: document supported compilers marcandre.lureau
2022-04-20 14:10   ` Daniel P. Berrangé
2022-04-20 14:32     ` Marc-André Lureau
2022-04-20 14:36     ` Thomas Huth
2022-04-20 14:46       ` Marc-André Lureau
2022-04-20 14:50         ` Marc-André Lureau
2022-04-20 15:24           ` Daniel P. Berrangé
2022-04-20 15:32             ` Marc-André Lureau
2022-04-20 15:55               ` Daniel P. Berrangé
2022-04-20 16:47                 ` Marc-André Lureau
2022-04-20 18:53                   ` Daniel P. Berrangé
2022-04-20 16:11               ` Thomas Huth
2022-04-20 16:52                 ` Marc-André Lureau
2022-04-20 14:53         ` Thomas Huth
2022-04-20 14:57           ` Marc-André Lureau
2022-04-20 13:26 ` [PATCH 18/41] osdep.h: move qemu_build_not_reached() marcandre.lureau
2022-04-20 15:27   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 19/41] compiler.h: replace QEMU_NORETURN with G_NORETURN marcandre.lureau
2022-04-20 13:26   ` marcandre.lureau
2022-04-20 14:24   ` Warner Losh
2022-04-20 14:24     ` Warner Losh
2022-04-20 15:29   ` Daniel P. Berrangé
2022-04-20 15:29     ` Daniel P. Berrangé
2023-04-07 17:01   ` Stefan Weil via
2023-04-07 17:15     ` Stefan Weil via
2022-04-20 13:26 ` [PATCH 20/41] include: move qemu_msync() to osdep marcandre.lureau
2022-04-20 15:33   ` Daniel P. Berrangé
2022-04-20 15:39     ` Marc-André Lureau
2022-04-20 13:26 ` [PATCH 21/41] include: move qemu_fdatasync() " marcandre.lureau
2022-04-20 15:34   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 22/41] include: move qemu_*_exec_dir() to cutils marcandre.lureau
2022-04-20 15:36   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 23/41] include: add qemu/keyval.h marcandre.lureau
2022-04-20 15:38   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 24/41] include: move qdict_{crumple,flatten} declarations marcandre.lureau
2022-04-20 15:39   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 25/41] tests: remove block/qdict checks from check-qobject.c marcandre.lureau
2022-04-20 15:39   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 26/41] compiler.h: add QEMU_SANITIZE_{ADDRESS,THREAD} marcandre.lureau
2022-04-21 13:34   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 27/41] Use QEMU_SANITIZE_THREAD marcandre.lureau
2022-04-21 13:43   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 28/41] Use QEMU_SANITIZE_ADDRESS marcandre.lureau
2022-04-20 14:20   ` Thomas Huth
2022-04-20 14:35     ` Marc-André Lureau
2022-04-20 13:26 ` [PATCH 29/41] tests: run-time skip test-qga if TSAN is enabled marcandre.lureau
2022-04-20 15:41   ` Daniel P. Berrangé
2022-04-21 13:02     ` Marc-André Lureau
2022-04-20 13:26 ` [PATCH 30/41] Move error_printf_unless_qmp() with monitor unit marcandre.lureau
2022-04-20 15:42   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 31/41] qga: move qga_get_host_name() marcandre.lureau
2022-04-20 13:51   ` Konstantin Kostiuk
2022-04-20 15:44   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 32/41] qtest: simplify socket_send() marcandre.lureau
2022-04-20 14:24   ` Thomas Huth
2022-04-20 15:45   ` Daniel P. Berrangé
2022-04-21 13:07     ` Marc-André Lureau
2022-04-20 13:26 ` [PATCH 33/41] tests: move libqtest.c under libqos/ marcandre.lureau
2022-04-20 14:16   ` Thomas Huth
2022-04-20 15:48   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 34/41] libqtest: split QMP part in libqmp marcandre.lureau
2022-04-20 14:29   ` Thomas Huth
2022-04-20 13:26 ` [PATCH 35/41] util: simplify write in signal handler marcandre.lureau
2022-04-20 15:49   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 36/41] util: use qemu_write_full() in qemu_write_pidfile() marcandre.lureau
2022-04-20 15:49   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 37/41] util: use qemu_create() " marcandre.lureau
2022-04-20 15:50   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 38/41] util: replace qemu_get_local_state_pathname() marcandre.lureau
2022-04-20 13:26   ` [Virtio-fs] " marcandre.lureau
2022-04-20 15:51   ` Daniel P. Berrangé
2022-04-20 15:51     ` [Virtio-fs] " Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 39/41] qga: remove need for QEMU atomic.h marcandre.lureau
2022-04-20 15:51   ` Daniel P. Berrangé
2022-04-20 13:26 ` [PATCH 40/41] migration/ram: fix clang warning marcandre.lureau
2022-04-20 14:10   ` Dr. David Alan Gilbert
2022-04-20 13:26 ` [PATCH 41/41] tests/fuzz: fix warning marcandre.lureau
2022-04-20 14:30   ` Thomas Huth
2022-04-20 14:40 ` [PATCH 00/41] Misc cleanups Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.