qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/12] Misc cleanups


From: marcandre . lureau
Subject: [PATCH 00/12] Misc cleanups
Date: Thu, 24 Feb 2022 22:36:49 +0400

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

A small collection of patches gleaned while working on different things (more
specifically, I am looking at making qapi code usable outside of qemu, many
things are twisted together, it takes effort but it is hopefully worth it)

Based-on: <20220222194008.610377-1-marcandre.lureau@redhat.com>

Marc-André Lureau (12):
  compiler.h: replace QEMU_WARN_UNUSED_RESULT with
    G_GNUC_WARN_UNUSED_RESULT
  compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED
  osdep.h: move qemu_build_not_reached()
  compiler.h: replace QEMU_NORETURN with G_NORETURN
  compiler.h: drop __printf__ macro MinGW/glib workaround
  Replace config-time define HOST_WORDS_BIGENDIAN
  Simplify HOST_LONG_BITS
  Move HOST_LONG_BITS to compiler.h
  scripts/modinfo-collect: remove unused/dead code
  util: remove needless includes
  util: remove the net/net.h dependency
  qapi: remove needless include

 meson.build                             |  1 -
 accel/tcg/atomic_template.h             |  4 +-
 accel/tcg/internal.h                    |  3 +-
 audio/audio.h                           |  2 +-
 hw/display/pl110_template.h             |  6 +--
 hw/net/can/ctucan_core.h                |  2 +-
 hw/net/vmxnet3.h                        |  4 +-
 include/exec/cpu-all.h                  |  4 +-
 include/exec/cpu-common.h               |  2 +-
 include/exec/exec-all.h                 | 20 ++++-----
 include/exec/helper-head.h              |  2 +-
 include/exec/memop.h                    |  2 +-
 include/exec/memory.h                   |  2 +-
 include/fpu/softfloat-types.h           |  2 +-
 include/glib-compat.h                   |  4 ++
 include/hw/core/cpu.h                   |  4 +-
 include/hw/core/tcg-cpu-ops.h           |  6 +--
 include/hw/hw.h                         |  2 +-
 include/hw/i386/intel_iommu.h           |  6 +--
 include/hw/i386/x86-iommu.h             |  4 +-
 include/hw/virtio/virtio-access.h       |  6 +--
 include/hw/virtio/virtio-gpu-bswap.h    |  2 +-
 include/libdecnumber/dconfig.h          |  2 +-
 include/net/eth.h                       |  2 +-
 include/qemu-common.h                   |  3 +-
 include/qemu/bswap.h                    |  8 ++--
 include/qemu/compiler.h                 | 35 +++-------------
 include/qemu/host-utils.h               |  2 +-
 include/qemu/int128.h                   |  2 +-
 include/qemu/osdep.h                    | 25 +++++++-----
 include/qemu/range.h                    |  4 +-
 include/qemu/thread.h                   |  2 +-
 include/qom/object.h                    |  6 +--
 include/tcg/tcg-ldst.h                  |  4 +-
 include/tcg/tcg.h                       |  2 +-
 include/ui/qemu-pixman.h                |  2 +-
 linux-user/user-internals.h             |  2 +-
 net/util.h                              |  2 +-
 scripts/cocci-macro-file.h              |  6 +--
 target/alpha/cpu.h                      | 10 ++---
 target/arm/cpu.h                        |  8 ++--
 target/arm/internals.h                  | 12 +++---
 target/arm/translate-a64.h              |  2 +-
 target/arm/vec_internal.h               |  2 +-
 target/hppa/cpu.h                       |  2 +-
 target/i386/cpu.h                       |  2 +-
 target/i386/tcg/helper-tcg.h            | 24 +++++------
 target/microblaze/cpu.h                 |  6 +--
 target/mips/cpu.h                       |  2 +-
 target/mips/tcg/tcg-internal.h          | 16 ++++----
 target/nios2/cpu.h                      |  6 +--
 target/openrisc/exception.h             |  2 +-
 target/ppc/cpu.h                        | 16 ++++----
 target/ppc/internal.h                   |  6 +--
 target/riscv/cpu.h                      | 10 ++---
 target/s390x/s390x-internal.h           |  6 +--
 target/s390x/tcg/tcg_s390x.h            | 12 +++---
 target/s390x/tcg/vec.h                  |  2 +-
 target/sh4/cpu.h                        |  6 +--
 target/sparc/cpu.h                      | 10 ++---
 target/xtensa/cpu.h                     |  4 +-
 tests/fp/platform.h                     |  4 +-
 accel/kvm/kvm-all.c                     |  4 +-
 accel/stubs/tcg-stub.c                  |  4 +-
 audio/dbusaudio.c                       |  2 +-
 block/qcow2-refcount.c                  | 20 ++++-----
 bsd-user/signal.c                       |  2 +-
 disas.c                                 |  2 +-
 hw/core/loader.c                        |  4 +-
 hw/display/artist.c                     |  6 +--
 hw/display/pxa2xx_lcd.c                 |  2 +-
 hw/display/vga.c                        | 12 +++---
 hw/display/virtio-gpu-gl.c              |  2 +-
 hw/misc/mips_itu.c                      |  2 +-
 hw/s390x/event-facility.c               |  2 +-
 hw/virtio/vhost.c                       |  2 +-
 linux-user/arm/nwfpe/double_cpdo.c      |  4 +-
 linux-user/arm/nwfpe/fpa11_cpdt.c       |  4 +-
 linux-user/ppc/signal.c                 |  3 +-
 linux-user/signal.c                     |  2 +-
 linux-user/syscall.c                    |  6 +--
 monitor/hmp.c                           |  2 +-
 net/announce.c                          | 13 ++++++
 net/net.c                               |  4 +-
 qapi/qmp-dispatch.c                     |  1 -
 qemu-img.c                              |  9 +++--
 target/alpha/helper.c                   | 10 ++---
 target/alpha/translate.c                |  2 +-
 target/arm/crypto_helper.c              |  2 +-
 target/arm/helper.c                     |  2 +-
 target/arm/kvm64.c                      |  4 +-
 target/arm/neon_helper.c                |  2 +-
 target/arm/pauth_helper.c               |  4 +-
 target/arm/sve_helper.c                 |  4 +-
 target/arm/tlb_helper.c                 |  6 +--
 target/arm/translate-sve.c              |  6 +--
 target/arm/translate-vfp.c              |  2 +-
 target/arm/translate.c                  |  2 +-
 target/hexagon/op_helper.c              |  8 ++--
 target/hppa/cpu.c                       |  2 +-
 target/hppa/op_helper.c                 |  4 +-
 target/hppa/translate.c                 |  2 +-
 target/i386/tcg/bpt_helper.c            |  2 +-
 target/i386/tcg/excp_helper.c           | 30 +++++++-------
 target/i386/tcg/misc_helper.c           |  6 +--
 target/i386/tcg/sysemu/misc_helper.c    |  6 +--
 target/i386/tcg/translate.c             |  2 +-
 target/mips/tcg/lmmi_helper.c           |  2 +-
 target/mips/tcg/msa_helper.c            | 54 ++++++++++++-------------
 target/openrisc/exception.c             |  2 +-
 target/openrisc/exception_helper.c      |  2 +-
 target/ppc/arch_dump.c                  |  2 +-
 target/ppc/int_helper.c                 | 22 +++++-----
 target/ppc/kvm.c                        |  4 +-
 target/ppc/mem_helper.c                 |  2 +-
 target/riscv/op_helper.c                |  4 +-
 target/riscv/vector_helper.c            |  2 +-
 target/rx/op_helper.c                   | 20 ++++-----
 target/s390x/tcg/excp_helper.c          | 20 ++++-----
 target/s390x/tcg/translate.c            |  2 +-
 target/sh4/op_helper.c                  |  4 +-
 target/sparc/mmu_helper.c               |  8 ++--
 target/sparc/vis_helper.c               |  4 +-
 target/tricore/op_helper.c              |  2 +-
 tcg/tcg-op.c                            |  4 +-
 tcg/tcg.c                               | 14 +++----
 tests/fp/fp-bench.c                     |  2 +-
 tests/fp/fp-test.c                      |  2 +-
 tests/qtest/vhost-user-blk-test.c       |  2 +-
 tests/qtest/virtio-blk-test.c           |  2 +-
 ui/vdagent.c                            |  2 +-
 ui/vnc.c                                |  2 +-
 util/bitmap.c                           |  2 +-
 util/cutils.c                           | 16 --------
 util/host-utils.c                       |  2 +-
 target/ppc/translate/vmx-impl.c.inc     |  4 +-
 target/ppc/translate/vsx-impl.c.inc     |  2 +-
 target/riscv/insn_trans/trans_rvv.c.inc |  4 +-
 target/s390x/tcg/translate_vx.c.inc     |  2 +-
 tcg/aarch64/tcg-target.c.inc            |  4 +-
 tcg/arm/tcg-target.c.inc                |  4 +-
 tcg/mips/tcg-target.c.inc               |  2 +-
 tcg/ppc/tcg-target.c.inc                | 10 ++---
 tcg/riscv/tcg-target.c.inc              |  4 +-
 scripts/checkpatch.pl                   |  6 +--
 scripts/modinfo-collect.py              |  5 ---
 146 files changed, 410 insertions(+), 434 deletions(-)

-- 
2.35.1.273.ge6ebfd0e8cbb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]