Clean up inclusion of sysemu/sysemu.h

In my "build everything" tree, changing sysemu/sysemu.h triggers a
recompile of some 5400 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).

Almost a third of its inclusions are actually superfluous.  Delete
them.  Downgrade two more to qapi/qapi-types-run-state.h, and move one
from char/serial.h to char/serial.c.

hw/semihosting/config.c, monitor/monitor.c, qdev-monitor.c, and
stubs/semihost.c define variables declared in sysemu/sysemu.h without
including it.  The compiler is cool with that, but include it anyway.

This doesn't reduce actual use much, as it's still included into
widely included headers.  The next commit will tackle that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-27-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
Markus Armbruster 2019-08-12 07:23:56 +02:00
parent b58c5c2dd2
commit d5938f29fe
126 changed files with 7 additions and 121 deletions

View File

@ -25,7 +25,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/accel.h" #include "sysemu/accel.h"
#include "sysemu/sysemu.h"
#include "sysemu/tcg.h" #include "sysemu/tcg.h"
#include "qom/object.h" #include "qom/object.h"
#include "cpu.h" #include "cpu.h"

View File

@ -37,7 +37,6 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/uri.h" #include "qemu/uri.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "sysemu/sysemu.h"
#include "qapi/qapi-visit-block-core.h" #include "qapi/qapi-visit-block-core.h"
#include "qapi/qmp/qdict.h" #include "qapi/qmp/qdict.h"
#include "qapi/qmp/qstring.h" #include "qapi/qmp/qstring.h"

View File

@ -15,7 +15,6 @@
#include "hw/block/block.h" #include "hw/block/block.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-commands-block.h" #include "qapi/qapi-commands-block.h"
#include "sysemu/sysemu.h"
#include "block/nbd.h" #include "block/nbd.h"
#include "io/channel-socket.h" #include "io/channel-socket.h"
#include "io/net-listener.h" #include "io/net-listener.h"

View File

@ -17,7 +17,6 @@
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "sysemu/dump.h" #include "sysemu/dump.h"
#include "sysemu/sysemu.h"
#include "sysemu/memory_mapping.h" #include "sysemu/memory_mapping.h"
#include "sysemu/cpus.h" #include "sysemu/cpus.h"
#include "qapi/error.h" #include "qapi/error.h"

View File

@ -31,7 +31,6 @@
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/pci/pci_bridge.h" #include "hw/pci/pci_bridge.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -21,7 +21,6 @@
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/sysemu.h"
void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid, void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
BIOSLinker *linker) BIOSLinker *linker)

View File

@ -9,7 +9,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "alpha_sys.h" #include "alpha_sys.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"

View File

@ -13,7 +13,6 @@
#include "cpu.h" #include "cpu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "sysemu/sysemu.h"
#include "alpha_sys.h" #include "alpha_sys.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -14,7 +14,6 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/misc/unimp.h" #include "hw/misc/unimp.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "cpu.h" #include "cpu.h"

View File

@ -17,7 +17,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "trace.h" #include "trace.h"
#include "exec/target_page.h" #include "exec/target_page.h"

View File

@ -18,7 +18,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"

View File

@ -31,7 +31,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "hw/platform-bus.h" #include "hw/platform-bus.h"
#include "sysemu/sysemu.h"
#include "hw/vfio/vfio-platform.h" #include "hw/vfio/vfio-platform.h"
#include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-calxeda-xgmac.h"
#include "hw/vfio/vfio-amd-xgbe.h" #include "hw/vfio/vfio-amd-xgbe.h"

View File

@ -19,7 +19,6 @@
#include "hw/ssi/ssi.h" #include "hw/ssi/ssi.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "sysemu/sysemu.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/audio/wm8750.h" #include "hw/audio/wm8750.h"

View File

@ -24,7 +24,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "chardev/char-serial.h" #include "chardev/char-serial.h"

View File

@ -23,7 +23,6 @@
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -31,6 +31,7 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "trace.h" #include "trace.h"

View File

@ -26,7 +26,6 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "sysemu/sysemu.h"
#include <libfdt.h> #include <libfdt.h>
#include <zlib.h> #include <zlib.h>

View File

@ -24,7 +24,6 @@
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
/* /*

View File

@ -26,7 +26,6 @@
this API directly. */ this API directly. */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/qapi-events-qdev.h" #include "qapi/qapi-events-qdev.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"

View File

@ -6,7 +6,6 @@
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "hw/display/ramfb.h" #include "hw/display/ramfb.h"
#include "ui/console.h" #include "ui/console.h"
#include "sysemu/sysemu.h"
#define RAMFB(obj) OBJECT_CHECK(RAMFBStandaloneState, (obj), TYPE_RAMFB_DEVICE) #define RAMFB(obj) OBJECT_CHECK(RAMFBStandaloneState, (obj), TYPE_RAMFB_DEVICE)

View File

@ -18,7 +18,6 @@
#include "hw/display/ramfb.h" #include "hw/display/ramfb.h"
#include "ui/console.h" #include "ui/console.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/sysemu.h"
struct QEMU_PACKED RAMFBCfg { struct QEMU_PACKED RAMFBCfg {
uint64_t addr; uint64_t addr;

View File

@ -29,7 +29,6 @@
#include "hw/irq.h" #include "hw/irq.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "sysemu/sysemu.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -16,7 +16,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -6,7 +6,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hppa_sys.h" #include "hppa_sys.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"

View File

@ -25,7 +25,6 @@
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "hw/i386/ich9.h" #include "hw/i386/ich9.h"

View File

@ -29,7 +29,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "sysemu/sysemu.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"

View File

@ -27,7 +27,6 @@
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "hw/block/block.h" #include "hw/block/block.h"

View File

@ -28,7 +28,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"

View File

@ -28,7 +28,6 @@
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"

View File

@ -28,7 +28,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "ui/input.h" #include "ui/input.h"
#include "hw/input/adb-keys.h" #include "hw/input/adb-keys.h"
#include "sysemu/sysemu.h"
#include "adb-internal.h" #include "adb-internal.h"
#include "trace.h" #include "trace.h"

View File

@ -18,7 +18,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "hw/intc/allwinner-a10-pic.h" #include "hw/intc/allwinner-a10-pic.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -15,7 +15,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "kvm_mips.h" #include "kvm_mips.h"

View File

@ -19,7 +19,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/ppc/xics.h" #include "hw/ppc/xics.h"

View File

@ -33,7 +33,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "sysemu/sysemu.h"
#include "hw/ipmi/ipmi.h" #include "hw/ipmi/ipmi.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -24,7 +24,6 @@
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "hw/i2c/pm_smbus.h" #include "hw/i2c/pm_smbus.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/sysemu.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -23,7 +23,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "trace.h" #include "trace.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/registerfields.h" #include "hw/registerfields.h"
#include "hw/misc/armsse-cpuid.h" #include "hw/misc/armsse-cpuid.h"

View File

@ -20,7 +20,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "trace.h" #include "trace.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/registerfields.h" #include "hw/registerfields.h"

View File

@ -11,7 +11,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/misc/imx6_src.h" #include "hw/misc/imx6_src.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"

View File

@ -16,7 +16,6 @@
#include "hw/misc/imx7_gpr.h" #include "hw/misc/imx7_gpr.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"

View File

@ -22,7 +22,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "trace.h" #include "trace.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/registerfields.h" #include "hw/registerfields.h"
#include "hw/misc/iotkit-sysinfo.h" #include "hw/misc/iotkit-sysinfo.h"

View File

@ -14,7 +14,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "hw/misc/mips_cmgcr.h" #include "hw/misc/mips_cmgcr.h"
#include "hw/misc/mips_cpc.h" #include "hw/misc/mips_cpc.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -31,7 +31,6 @@
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -29,7 +29,6 @@
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#define SGABIOS_FILENAME "sgabios.bin" #define SGABIOS_FILENAME "sgabios.bin"

View File

@ -18,7 +18,6 @@
#include "hw/misc/zynq-xadc.h" #include "hw/misc/zynq-xadc.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -27,7 +27,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/ptimer.h" #include "hw/ptimer.h"

View File

@ -18,7 +18,6 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/net/lan9118.h" #include "hw/net/lan9118.h"
#include "sysemu/sysemu.h"
#include "hw/ptimer.h" #include "hw/ptimer.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -29,7 +29,6 @@
#include "hw/irq.h" #include "hw/irq.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "ne2000.h" #include "ne2000.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
/* debug NE2000 card */ /* debug NE2000 card */

View File

@ -39,7 +39,6 @@
#include "net/net.h" #include "net/net.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "net/eth.h" #include "net/eth.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
/* RECSMALL is not used because it breaks tap networking in linux: /* RECSMALL is not used because it breaks tap networking in linux:

View File

@ -43,7 +43,6 @@
#include "net/net.h" #include "net/net.h"
#include "net/eth.h" #include "net/eth.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
#include "pcnet.h" #include "pcnet.h"

View File

@ -33,7 +33,6 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -29,7 +29,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qom/object.h" #include "qom/object.h"
#include "sysemu/sysemu.h"
#include "hw/pci-host/pam.h" #include "hw/pci-host/pam.h"
void init_pam(DeviceState *dev, MemoryRegion *ram_memory, void init_pam(DeviceState *dev, MemoryRegion *ram_memory,

View File

@ -17,7 +17,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "target/ppc/cpu.h" #include "target/ppc/cpu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "hw/ipmi/ipmi.h" #include "hw/ipmi/ipmi.h"

View File

@ -19,7 +19,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/reset.h" #include "sysemu/reset.h"
#include "sysemu/sysemu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -18,7 +18,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "target/ppc/cpu.h" #include "target/ppc/cpu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -17,7 +17,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "target/ppc/cpu.h" #include "target/ppc/cpu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -33,7 +33,6 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "sysemu/hw_accel.h" #include "sysemu/hw_accel.h"
#include "sysemu/sysemu.h"
#include "e500.h" #include "e500.h"
#define MAX_CPUS 32 #define MAX_CPUS 32

View File

@ -23,7 +23,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "sysemu/device_tree.h" #include "sysemu/device_tree.h"
#include "sysemu/rng.h" #include "sysemu/rng.h"
#include "hw/ppc/spapr.h" #include "hw/ppc/spapr.h"

View File

@ -25,7 +25,6 @@
#include "qapi/visitor.h" #include "qapi/visitor.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "sysemu/sysemu.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View File

@ -18,7 +18,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "hw/s390x/sclp.h" #include "hw/s390x/sclp.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View File

@ -14,7 +14,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "hw/s390x/sclp.h" #include "hw/s390x/sclp.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/s390x/event-facility.h" #include "hw/s390x/event-facility.h"

View File

@ -12,7 +12,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "net/net.h" #include "net/net.h"
#include "hw/virtio/virtio.h" #include "hw/virtio/virtio.h"

View File

@ -30,7 +30,6 @@
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "hw/scsi/emulation.h" #include "hw/scsi/emulation.h"
#include "scsi/constants.h" #include "scsi/constants.h"
#include "sysemu/sysemu.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "hw/block/block.h" #include "hw/block/block.h"

View File

@ -26,7 +26,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"

View File

@ -24,6 +24,7 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/semihosting/semihost.h" #include "hw/semihosting/semihost.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "sysemu/sysemu.h"
QemuOptsList qemu_semihosting_config_opts = { QemuOptsList qemu_semihosting_config_opts = {
.name = "semihosting-config", .name = "semihosting-config",

View File

@ -25,7 +25,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View File

@ -12,7 +12,6 @@
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/ssi/imx_spi.h" #include "hw/ssi/imx_spi.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"

View File

@ -27,7 +27,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/fifo8.h" #include "qemu/fifo8.h"

View File

@ -24,7 +24,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/ptimer.h" #include "hw/ptimer.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -19,7 +19,6 @@
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "hw/timer/allwinner-a10-pit.h" #include "hw/timer/allwinner-a10-pit.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -24,7 +24,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/ptimer.h" #include "hw/ptimer.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -37,7 +37,6 @@
#include "hw/ptimer.h" #include "hw/ptimer.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "sysemu/sysemu.h"
#include "hw/arm/exynos4210.h" #include "hw/arm/exynos4210.h"

View File

@ -23,7 +23,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "net/net.h" #include "net/net.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -21,7 +21,6 @@
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/usb.h" #include "hw/usb.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View File

@ -25,7 +25,6 @@
#include "cpu.h" #include "cpu.h"
#include "kvm_s390x.h" #include "kvm_s390x.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "sysemu/sysemu.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/s390x/ap-bridge.h" #include "hw/s390x/ap-bridge.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -25,7 +25,6 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "sysemu/sysemu.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "qemu/queue.h" #include "qemu/queue.h"

View File

@ -9,7 +9,6 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "xen_pt.h" #include "xen_pt.h"

View File

@ -28,7 +28,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "cpu.h" #include "cpu.h"
#include "sysemu/sysemu.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "xtensa_memory.h" #include "xtensa_memory.h"

View File

@ -9,7 +9,6 @@
#include "hw/net/allwinner_emac.h" #include "hw/net/allwinner_emac.h"
#include "hw/ide/ahci.h" #include "hw/ide/ahci.h"
#include "sysemu/sysemu.h"
#include "target/arm/cpu.h" #include "target/arm/cpu.h"

View File

@ -26,7 +26,6 @@
#ifndef HW_SERIAL_H #ifndef HW_SERIAL_H
#define HW_SERIAL_H #define HW_SERIAL_H
#include "sysemu/sysemu.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "qemu/fifo8.h" #include "qemu/fifo8.h"

View File

@ -12,7 +12,6 @@
#include "qemu/range.h" #include "qemu/range.h"
#include "qemu/bitmap.h" #include "qemu/bitmap.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/mem/pc-dimm.h" #include "hw/mem/pc-dimm.h"
#include "hw/mem/nvdimm.h" #include "hw/mem/nvdimm.h"

View File

@ -22,7 +22,6 @@
#include "chardev/char.h" #include "chardev/char.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "sysemu/sysemu.h"
#include "exec/memory.h" #include "exec/memory.h"
#include "target/riscv/cpu.h" #include "target/riscv/cpu.h"

View File

@ -27,7 +27,6 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/sysemu.h"
#define TIM_CR1 0x00 #define TIM_CR1 0x00
#define TIM_CR2 0x04 #define TIM_CR2 0x04

View File

@ -25,7 +25,6 @@
#ifndef VIRTIO_BUS_H #ifndef VIRTIO_BUS_H
#define VIRTIO_BUS_H #define VIRTIO_BUS_H
#include "sysemu/sysemu.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/virtio/virtio.h" #include "hw/virtio/virtio.h"

View File

@ -3,7 +3,6 @@
#include "hw/xen/xen_common.h" #include "hw/xen/xen_common.h"
#include "hw/xen/xen_pvdev.h" #include "hw/xen/xen_pvdev.h"
#include "sysemu/sysemu.h"
#include "net/net.h" #include "net/net.h"
#define TYPE_XENSYSDEV "xen-sysdev" #define TYPE_XENSYSDEV "xen-sysdev"

View File

@ -13,7 +13,7 @@
#ifndef QEMU_MIGRATION_GLOBAL_STATE_H #ifndef QEMU_MIGRATION_GLOBAL_STATE_H
#define QEMU_MIGRATION_GLOBAL_STATE_H #define QEMU_MIGRATION_GLOBAL_STATE_H
#include "sysemu/sysemu.h" #include "qapi/qapi-types-run-state.h"
void register_global_state(void); void register_global_state(void);
int global_state_store(void); int global_state_store(void);

View File

@ -10,7 +10,6 @@
#define QEMU_KVM_INT_H #define QEMU_KVM_INT_H
#include "exec/memory.h" #include "exec/memory.h"
#include "sysemu/sysemu.h"
#include "sysemu/accel.h" #include "sysemu/accel.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"

View File

@ -12,8 +12,8 @@
* *
*/ */
#include "sysemu.h"
#include "qapi/qapi-types-misc.h" #include "qapi/qapi-types-misc.h"
#include "qapi/qapi-types-run-state.h"
#include "qapi/qapi-types-ui.h" #include "qapi/qapi-types-ui.h"
/* replay clock kinds */ /* replay clock kinds */

View File

@ -26,7 +26,6 @@
#include "qemu/thread.h" #include "qemu/thread.h"
#include "ui/qemu-pixman.h" #include "ui/qemu-pixman.h"
#include "ui/console.h" #include "ui/console.h"
#include "sysemu/sysemu.h"
#if defined(CONFIG_OPENGL_DMABUF) #if defined(CONFIG_OPENGL_DMABUF)
# if SPICE_SERVER_VERSION >= 0x000d01 /* release 0.13.1 */ # if SPICE_SERVER_VERSION >= 0x000d01 /* release 0.13.1 */

View File

@ -31,6 +31,7 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "sysemu/qtest.h" #include "sysemu/qtest.h"
#include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
/* /*

View File

@ -27,7 +27,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "tap_int.h" #include "tap_int.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#if defined(__NetBSD__) || defined(__FreeBSD__) #if defined(__NetBSD__) || defined(__FreeBSD__)

View File

@ -32,7 +32,6 @@
#include <net/if.h> #include <net/if.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "sysemu/sysemu.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"

View File

@ -25,7 +25,6 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "tap_int.h" #include "tap_int.h"
#include "sysemu/sysemu.h"
#include "qemu/ctype.h" #include "qemu/ctype.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"

View File

@ -33,7 +33,6 @@
#include "clients.h" /* net_init_tap */ #include "clients.h" /* net_init_tap */
#include "net/net.h" #include "net/net.h"
#include "net/tap.h" /* tap_has_ufo, ... */ #include "net/tap.h" /* tap_has_ufo, ... */
#include "sysemu/sysemu.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include <windows.h> #include <windows.h>

View File

@ -32,6 +32,7 @@
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "migration/misc.h" #include "migration/misc.h"
/* /*

View File

@ -42,7 +42,6 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qom/object_interfaces.h" #include "qom/object_interfaces.h"
#include "sysemu/sysemu.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "block/block_int.h" #include "block/block_int.h"
#include "block/blockjob.h" #include "block/blockjob.h"

View File

@ -28,7 +28,6 @@
#include "exec/log.h" #include "exec/log.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "sysemu/sysemu.h"
#include "sysemu/tcg.h" #include "sysemu/tcg.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View File

@ -13,7 +13,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "replay-internal.h" #include "replay-internal.h"
#include "sysemu/sysemu.h"
#include "audio/audio.h" #include "audio/audio.h"
void replay_audio_out(int *played) void replay_audio_out(int *played)

View File

@ -13,7 +13,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "replay-internal.h" #include "replay-internal.h"
#include "sysemu/sysemu.h"
#include "chardev/char.h" #include "chardev/char.h"
/* Char drivers that generate qemu_chr_be_write events /* Char drivers that generate qemu_chr_be_write events

View File

@ -13,7 +13,6 @@
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "replay-internal.h" #include "replay-internal.h"
#include "sysemu/sysemu.h"
#include "net/net.h" #include "net/net.h"
#include "net/filter.h" #include "net/filter.h"
#include "qemu/iov.h" #include "qemu/iov.h"

View File

@ -13,7 +13,6 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "replay-internal.h" #include "replay-internal.h"
#include "sysemu/sysemu.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "qapi/qmp/qstring.h" #include "qapi/qmp/qstring.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

Some files were not shown because too many files have changed in this diff Show More