diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-01-24 13:19:15 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-02-04 07:56:52 +0100 |
commit | 15b7646c7d0d17f41b78f3af5adb21a2e4e45a93 (patch) | |
tree | ba8eda2fbae15a29aaa9d5b04031883f53398b36 | |
parent | ea66c00e7cd79b4cb8aa94a27c5491514dc1662c (diff) |
monitor: Drop unnecessary includes
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230124121946.1139465-2-armbru@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
-rw-r--r-- | monitor/hmp-cmds.c | 4 | ||||
-rw-r--r-- | monitor/hmp.c | 2 | ||||
-rw-r--r-- | monitor/misc.c | 14 | ||||
-rw-r--r-- | monitor/qmp-cmds-control.c | 1 | ||||
-rw-r--r-- | monitor/qmp-cmds.c | 8 |
5 files changed, 2 insertions, 27 deletions
diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c index 1dba973092..de1a96d48c 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -18,17 +18,14 @@ #include "net/net.h" #include "net/eth.h" #include "chardev/char.h" -#include "sysemu/block-backend.h" #include "sysemu/runstate.h" #include "qemu/config-file.h" #include "qemu/option.h" -#include "qemu/timer.h" #include "qemu/sockets.h" #include "qemu/help_option.h" #include "monitor/monitor.h" #include "qapi/error.h" #include "qapi/clone-visitor.h" -#include "qapi/opts-visitor.h" #include "qapi/qapi-builtin-visit.h" #include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-char.h" @@ -42,7 +39,6 @@ #include "qapi/qapi-commands-stats.h" #include "qapi/qapi-commands-tpm.h" #include "qapi/qapi-commands-virtio.h" -#include "qapi/qapi-visit-virtio.h" #include "qapi/qapi-visit-net.h" #include "qapi/qapi-visit-migration.h" #include "qapi/qmp/qdict.h" diff --git a/monitor/hmp.c b/monitor/hmp.c index 43fd69f984..e5d914b1f5 100644 --- a/monitor/hmp.c +++ b/monitor/hmp.c @@ -27,7 +27,6 @@ #include "hw/qdev-core.h" #include "monitor-internal.h" #include "monitor/hmp.h" -#include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qnum.h" #include "qemu/config-file.h" @@ -37,7 +36,6 @@ #include "qemu/option.h" #include "qemu/units.h" #include "sysemu/block-backend.h" -#include "sysemu/runstate.h" #include "trace.h" static void monitor_command_cb(void *opaque, const char *cmdline, diff --git a/monitor/misc.c b/monitor/misc.c index 053af4045e..6fc8bfef13 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -25,27 +25,20 @@ #include "qemu/osdep.h" #include "monitor-internal.h" #include "monitor/qdev.h" -#include "hw/pci/pci.h" -#include "sysemu/watchdog.h" #include "exec/gdbstub.h" #include "net/net.h" #include "net/slirp.h" #include "ui/qemu-spice.h" -#include "qemu/config-file.h" #include "qemu/ctype.h" #include "audio/audio.h" #include "disas/disas.h" -#include "qemu/timer.h" #include "qemu/log.h" #include "sysemu/hw_accel.h" #include "sysemu/runstate.h" -#include "authz/list.h" -#include "qapi/util.h" #include "sysemu/sysemu.h" #include "sysemu/device_tree.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qerror.h" -#include "qapi/qmp/qstring.h" #include "qom/object_interfaces.h" #include "trace/control.h" #include "monitor/hmp-target.h" @@ -53,10 +46,8 @@ #ifdef CONFIG_TRACE_SIMPLE #include "trace/simple.h" #endif -#include "exec/memory.h" -#include "exec/exec-all.h" -#include "qemu/option.h" -#include "qemu/thread.h" +#include "exec/address-spaces.h" +#include "exec/ioport.h" #include "block/qapi.h" #include "block/block-hmp-cmds.h" #include "qapi/qapi-commands-char.h" @@ -69,7 +60,6 @@ #include "qapi/qapi-commands-machine.h" #include "qapi/qapi-init-commands.h" #include "qapi/error.h" -#include "qapi/qmp-event.h" #include "qemu/cutils.h" #if defined(TARGET_S390X) diff --git a/monitor/qmp-cmds-control.c b/monitor/qmp-cmds-control.c index 6e581713a3..f21506efa5 100644 --- a/monitor/qmp-cmds-control.c +++ b/monitor/qmp-cmds-control.c @@ -30,7 +30,6 @@ #include "qapi/error.h" #include "qapi/qapi-commands-control.h" #include "qapi/qapi-commands-introspect.h" -#include "qapi/qapi-emit-events.h" #include "qapi/qapi-introspect.h" #include "qapi/qapi-visit-introspect.h" #include "qapi/qobject-input-visitor.h" diff --git a/monitor/qmp-cmds.c b/monitor/qmp-cmds.c index bf22a8c5a6..743849c0b5 100644 --- a/monitor/qmp-cmds.c +++ b/monitor/qmp-cmds.c @@ -14,29 +14,21 @@ */ #include "qemu/osdep.h" -#include "block/blockjob.h" -#include "qemu/cutils.h" -#include "qemu/option.h" #include "monitor/monitor.h" #include "monitor/qmp-helpers.h" #include "sysemu/sysemu.h" -#include "qemu/config-file.h" -#include "qemu/uuid.h" #include "chardev/char.h" #include "sysemu/kvm.h" #include "sysemu/runstate.h" #include "sysemu/runstate-action.h" -#include "sysemu/blockdev.h" #include "sysemu/block-backend.h" #include "qapi/error.h" #include "qapi/qapi-commands-acpi.h" -#include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-control.h" #include "qapi/qapi-commands-machine.h" #include "qapi/qapi-commands-misc.h" #include "qapi/qapi-commands-stats.h" #include "qapi/type-helpers.h" -#include "exec/ramlist.h" #include "hw/mem/memory-device.h" #include "hw/acpi/acpi_dev_interface.h" #include "hw/intc/intc.h" |