Skip to content

Commit

Permalink
Remove qemu-common.h include from most units
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
elmarco authored and bonzini committed Apr 6, 2022
1 parent fcc4196 commit 0f9668e
Show file tree
Hide file tree
Showing 243 changed files with 1 addition and 254 deletions.
1 change: 0 additions & 1 deletion accel/hvf/hvf-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "sysemu/hvf.h"
#include "sysemu/hvf_int.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/cpu-exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/qemu-print.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-machine.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/tcg-accel-ops-icount.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/tcg.h"
#include "sysemu/replay.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/tcg-accel-ops-mttcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/tcg.h"
#include "sysemu/replay.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/tcg-accel-ops-rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/tcg.h"
#include "sysemu/replay.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/tcg-accel-ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/tcg.h"
#include "sysemu/replay.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/tcg-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "sysemu/tcg.h"
#include "sysemu/cpu-timers.h"
#include "tcg/tcg.h"
Expand Down
1 change: 0 additions & 1 deletion accel/tcg/translate-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"

#define NO_CPU_IO_DEFS
#include "trace.h"
Expand Down
1 change: 0 additions & 1 deletion audio/audio_win_int.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* public domain */

#include "qemu/osdep.h"
#include "qemu-common.h"

#define AUDIO_CAP "win-int"
#include <windows.h>
Expand Down
1 change: 0 additions & 1 deletion backends/hostmem-epc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <sys/ioctl.h>

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qom/object_interfaces.h"
#include "qapi/error.h"
#include "sysemu/hostmem.h"
Expand Down
1 change: 0 additions & 1 deletion backends/tpm/tpm_passthrough.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "qemu/module.h"
#include "qemu/sockets.h"
Expand Down
1 change: 0 additions & 1 deletion block/file-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/cutils.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion block/io_uring.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
#include "qemu/osdep.h"
#include <liburing.h>
#include "qemu-common.h"
#include "block/aio.h"
#include "qemu/queue.h"
#include "block/block.h"
Expand Down
1 change: 0 additions & 1 deletion bsd-user/freebsd/os-syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include <utime.h>

#include "qemu.h"
#include "qemu-common.h"
#include "signal-common.h"
#include "user/syscall-trace.h"

Expand Down
1 change: 0 additions & 1 deletion bsd-user/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "qemu/osdep.h"

#include "qemu.h"
#include "qemu-common.h"

static pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER;
static __thread int mmap_lock_count;
Expand Down
1 change: 0 additions & 1 deletion chardev/char-fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/module.h"
#include "qemu/sockets.h"
#include "qapi/error.h"
Expand Down
1 change: 0 additions & 1 deletion chardev/char-pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/main-loop.h"
#include "qemu/module.h"
Expand Down
1 change: 0 additions & 1 deletion chardev/char-pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "chardev/char.h"
#include "io/channel-file.h"
Expand Down
1 change: 0 additions & 1 deletion cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"

#include "exec/target_page.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/cipher-afalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include "qemu/sockets.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "crypto/cipher.h"
#include "cipherpriv.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/hash-afalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "qemu/osdep.h"
#include "qemu/iov.h"
#include "qemu/sockets.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "crypto/hash.h"
#include "crypto/hmac.h"
Expand Down
1 change: 0 additions & 1 deletion dump/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/cutils.h"
#include "elf.h"
#include "exec/hwaddr.h"
Expand Down
1 change: 0 additions & 1 deletion dump/win_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/cutils.h"
#include "elf.h"
#include "exec/hwaddr.h"
Expand Down
1 change: 0 additions & 1 deletion fsdev/virtfs-proxy-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <linux/magic.h>
#endif
#include <cap-ng.h>
#include "qemu-common.h"
#include "qemu/sockets.h"
#include "qemu/xattr.h"
#include "9p-iov-marshal.h"
Expand Down
1 change: 0 additions & 1 deletion gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
#include "qemu/ctype.h"
Expand Down
1 change: 0 additions & 1 deletion hw/9pfs/9p-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "qemu/osdep.h"
#include <sys/socket.h>
#include <sys/un.h>
#include "qemu-common.h"
#include "9p.h"
#include "qapi/error.h"
#include "qemu/cutils.h"
Expand Down
1 change: 0 additions & 1 deletion hw/alpha/dp264.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "elf.h"
#include "hw/loader.h"
Expand Down
1 change: 0 additions & 1 deletion hw/avr/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "hw/loader.h"
#include "elf.h"
Expand Down
1 change: 0 additions & 1 deletion hw/core/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-machine.h"
Expand Down
1 change: 0 additions & 1 deletion hw/display/artist.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "qemu/log.h"
#include "qemu/module.h"
Expand Down
1 change: 0 additions & 1 deletion hw/display/cg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion hw/display/tcx.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "qapi/error.h"
#include "ui/console.h"
Expand Down
1 change: 0 additions & 1 deletion hw/display/virtio-gpu-udmabuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu-common.h"
#include "qemu/iov.h"
#include "ui/console.h"
#include "hw/virtio/virtio-gpu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/dma/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "hw/irq.h"
#include "hw/qdev-properties.h"
#include "hw/sysbus.h"
Expand Down
1 change: 0 additions & 1 deletion hw/hppa/machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "cpu.h"
#include "elf.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/pc_sysfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
#include "sysemu/block-backend.h"
#include "qemu/error-report.h"
Expand Down
1 change: 0 additions & 1 deletion hw/i386/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "qemu/option.h"
#include "qemu/cutils.h"
#include "qemu/units.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "qapi/error.h"
#include "qapi/qmp/qerror.h"
Expand Down
1 change: 0 additions & 1 deletion hw/input/vhost-user-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "qemu-common.h"

#include "hw/virtio/virtio-input.h"

Expand Down
1 change: 0 additions & 1 deletion hw/intc/xics_kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "trace.h"
#include "sysemu/kvm.h"
#include "hw/ppc/spapr.h"
Expand Down
1 change: 0 additions & 1 deletion hw/m68k/mcf5208.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "qemu/error-report.h"
#include "qemu/log.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "cpu.h"
#include "hw/irq.h"
Expand Down
1 change: 0 additions & 1 deletion hw/m68k/q800.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "sysemu/sysemu.h"
#include "cpu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/m68k/virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "cpu.h"
#include "hw/boards.h"
Expand Down
1 change: 0 additions & 1 deletion hw/microblaze/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "cpu.h"
#include "qemu/option.h"
Expand Down
1 change: 0 additions & 1 deletion hw/mips/fuloong2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "qemu/units.h"
#include "qapi/error.h"
Expand Down
1 change: 0 additions & 1 deletion hw/mips/jazz.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "hw/clock.h"
#include "hw/mips/mips.h"
Expand Down
1 change: 0 additions & 1 deletion hw/mips/loongson3_virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/units.h"
#include "qemu/cutils.h"
#include "qemu/datadir.h"
Expand Down
1 change: 0 additions & 1 deletion hw/mips/malta.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu/bitops.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "hw/clock.h"
#include "hw/southbridge/piix.h"
Expand Down
1 change: 0 additions & 1 deletion hw/mips/mipssim.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "qemu/datadir.h"
#include "hw/clock.h"
#include "hw/mips/mips.h"
Expand Down
1 change: 0 additions & 1 deletion hw/misc/sbsa_ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/log.h"
#include "hw/sysbus.h"
#include "sysemu/runstate.h"
Expand Down
1 change: 0 additions & 1 deletion hw/net/fsl_etsec/etsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "hw/sysbus.h"
#include "hw/irq.h"
#include "hw/ptimer.h"
Expand Down
Loading

0 comments on commit 0f9668e

Please sign in to comment.