diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:08 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:20:20 +0200 |
commit | a8d2532645cf5ce4f75981f81dfe363efc35d05c (patch) | |
tree | 9572944040e99117f69f46d6e99488e8073f65c3 /stubs | |
parent | 0b8fa32f551e863bb548a11394239239270dd3dc (diff) |
Include qemu-common.h exactly where needed
No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-5-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/bdrv-next-monitor-owned.c | 1 | ||||
-rw-r--r-- | stubs/blk-commit-all.c | 1 | ||||
-rw-r--r-- | stubs/change-state-handler.c | 1 | ||||
-rw-r--r-- | stubs/clock-warp.c | 1 | ||||
-rw-r--r-- | stubs/cpu-get-clock.c | 1 | ||||
-rw-r--r-- | stubs/cpu-get-icount.c | 1 | ||||
-rw-r--r-- | stubs/dump.c | 1 | ||||
-rw-r--r-- | stubs/error-printf.c | 1 | ||||
-rw-r--r-- | stubs/fd-register.c | 1 | ||||
-rw-r--r-- | stubs/fdset.c | 1 | ||||
-rw-r--r-- | stubs/iothread-lock.c | 1 | ||||
-rw-r--r-- | stubs/is-daemonized.c | 1 | ||||
-rw-r--r-- | stubs/machine-init-done.c | 1 | ||||
-rw-r--r-- | stubs/migr-blocker.c | 1 | ||||
-rw-r--r-- | stubs/monitor.c | 1 | ||||
-rw-r--r-- | stubs/notify-event.c | 1 | ||||
-rw-r--r-- | stubs/set-fd-handler.c | 1 | ||||
-rw-r--r-- | stubs/uuid.c | 1 | ||||
-rw-r--r-- | stubs/vm-stop.c | 1 | ||||
-rw-r--r-- | stubs/vmstate.c | 1 | ||||
-rw-r--r-- | stubs/xen-common.c | 1 | ||||
-rw-r--r-- | stubs/xen-hvm.c | 1 |
22 files changed, 0 insertions, 22 deletions
diff --git a/stubs/bdrv-next-monitor-owned.c b/stubs/bdrv-next-monitor-owned.c index 2acf6c3ec0..e62c289862 100644 --- a/stubs/bdrv-next-monitor-owned.c +++ b/stubs/bdrv-next-monitor-owned.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "block/block.h" BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs) diff --git a/stubs/blk-commit-all.c b/stubs/blk-commit-all.c index c82fb7f5f8..e156c57f8d 100644 --- a/stubs/blk-commit-all.c +++ b/stubs/blk-commit-all.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/block-backend.h" int blk_commit_all(void) diff --git a/stubs/change-state-handler.c b/stubs/change-state-handler.c index 01b1c6986d..d14194b36b 100644 --- a/stubs/change-state-handler.c +++ b/stubs/change-state-handler.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/sysemu.h" VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb, diff --git a/stubs/clock-warp.c b/stubs/clock-warp.c index 8acb58a775..b53e5dd94c 100644 --- a/stubs/clock-warp.c +++ b/stubs/clock-warp.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/timer.h" void qemu_start_warp_timer(void) diff --git a/stubs/cpu-get-clock.c b/stubs/cpu-get-clock.c index 1d07523b86..5a92810e87 100644 --- a/stubs/cpu-get-clock.c +++ b/stubs/cpu-get-clock.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/timer.h" int64_t cpu_get_clock(void) diff --git a/stubs/cpu-get-icount.c b/stubs/cpu-get-icount.c index 35f0c1e24c..b35f844638 100644 --- a/stubs/cpu-get-icount.c +++ b/stubs/cpu-get-icount.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "sysemu/cpus.h" #include "qemu/main-loop.h" diff --git a/stubs/dump.c b/stubs/dump.c index 8e5032c3af..1f28ec2be3 100644 --- a/stubs/dump.c +++ b/stubs/dump.c @@ -12,7 +12,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/dump-arch.h" int cpu_get_dump_info(ArchDumpInfo *info, diff --git a/stubs/error-printf.c b/stubs/error-printf.c index 1f9d3b3714..a2f61521a1 100644 --- a/stubs/error-printf.c +++ b/stubs/error-printf.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/error-report.h" int error_vprintf(const char *fmt, va_list ap) diff --git a/stubs/fd-register.c b/stubs/fd-register.c index f91aa34185..63a4abdb20 100644 --- a/stubs/fd-register.c +++ b/stubs/fd-register.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/main-loop.h" void qemu_fd_register(int fd) diff --git a/stubs/fdset.c b/stubs/fdset.c index 4f3edf2ea4..f3d9980b7e 100644 --- a/stubs/fdset.c +++ b/stubs/fdset.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "monitor/monitor.h" int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd) diff --git a/stubs/iothread-lock.c b/stubs/iothread-lock.c index eb745d7d6a..2a6efad64a 100644 --- a/stubs/iothread-lock.c +++ b/stubs/iothread-lock.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/main-loop.h" bool qemu_mutex_iothread_locked(void) diff --git a/stubs/is-daemonized.c b/stubs/is-daemonized.c index d5cd1dc371..8f63325bb2 100644 --- a/stubs/is-daemonized.c +++ b/stubs/is-daemonized.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" /* Win32 has its own inline stub */ #ifndef _WIN32 diff --git a/stubs/machine-init-done.c b/stubs/machine-init-done.c index 4121f1709b..cd8e81392d 100644 --- a/stubs/machine-init-done.c +++ b/stubs/machine-init-done.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/sysemu.h" bool machine_init_done = true; diff --git a/stubs/migr-blocker.c b/stubs/migr-blocker.c index 2b64ac9560..5676a2f93c 100644 --- a/stubs/migr-blocker.c +++ b/stubs/migr-blocker.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "migration/blocker.h" int migrate_add_blocker(Error *reason, Error **errp) diff --git a/stubs/monitor.c b/stubs/monitor.c index b2ea975e40..cdbf5c5f9a 100644 --- a/stubs/monitor.c +++ b/stubs/monitor.c @@ -1,7 +1,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-emit-events.h" -#include "qemu-common.h" #include "monitor/monitor.h" __thread Monitor *cur_mon; diff --git a/stubs/notify-event.c b/stubs/notify-event.c index 14e52268a8..827bb52d1a 100644 --- a/stubs/notify-event.c +++ b/stubs/notify-event.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/main-loop.h" void qemu_notify_event(void) diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c index 26965de4c3..bff7e0a45a 100644 --- a/stubs/set-fd-handler.c +++ b/stubs/set-fd-handler.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/main-loop.h" void qemu_set_fd_handler(int fd, diff --git a/stubs/uuid.c b/stubs/uuid.c index a802e9836b..67f182fa3a 100644 --- a/stubs/uuid.c +++ b/stubs/uuid.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qapi/qapi-commands-misc.h" #include "qemu/uuid.h" diff --git a/stubs/vm-stop.c b/stubs/vm-stop.c index 8271cad65d..68e5f20eaf 100644 --- a/stubs/vm-stop.c +++ b/stubs/vm-stop.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "sysemu/sysemu.h" void qemu_system_vmstop_request_prepare(void) diff --git a/stubs/vmstate.c b/stubs/vmstate.c index 6399474e49..e1e89b87f0 100644 --- a/stubs/vmstate.c +++ b/stubs/vmstate.c @@ -1,5 +1,4 @@ #include "qemu/osdep.h" -#include "qemu-common.h" #include "migration/vmstate.h" const VMStateDescription vmstate_dummy = {}; diff --git a/stubs/xen-common.c b/stubs/xen-common.c index 09fce2dd36..f5efcae362 100644 --- a/stubs/xen-common.c +++ b/stubs/xen-common.c @@ -6,7 +6,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "hw/xen/xen.h" void xenstore_store_pv_console_info(int i, Chardev *chr) diff --git a/stubs/xen-hvm.c b/stubs/xen-hvm.c index 0067bcc6db..b7d53b5e2f 100644 --- a/stubs/xen-hvm.c +++ b/stubs/xen-hvm.c @@ -9,7 +9,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "hw/xen/xen.h" #include "exec/memory.h" #include "qapi/qapi-commands-misc.h" |