diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:37:36 +0200 |
commit | 54d31236b906c8f03eb011717de7bc47000720c3 (patch) | |
tree | cc3e5f84c89e946a78df8deb8bc939ae25d2ef6b /hw/arm | |
parent | 2f780b6a91fe99652266004bf78191ceddfae09c (diff) |
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h
sysemu/sysemu.h is a rather unfocused dumping ground for stuff related
to the system-emulator. Evidence:
* It's included widely: in my "build everything" tree, changing
sysemu/sysemu.h still triggers a recompile of some 1100 out of 6600
objects (not counting tests and objects that don't depend on
qemu/osdep.h, down from 5400 due to the previous two commits).
* It pulls in more than a dozen additional headers.
Split stuff related to run state management into its own header
sysemu/runstate.h.
Touching sysemu/sysemu.h now recompiles some 850 objects. qemu/uuid.h
also drops from 1100 to 850, and qapi/qapi-types-run-state.h from 4400
to 4200. Touching new sysemu/runstate.h recompiles some 500 objects.
Since I'm touching MAINTAINERS to add sysemu/runstate.h anyway, also
add qemu/main-loop.h.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190812052359.30071-30-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[Unbreak OS-X build]
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/highbank.c | 1 | ||||
-rw-r--r-- | hw/arm/integratorcp.c | 1 | ||||
-rw-r--r-- | hw/arm/msf2-soc.c | 1 | ||||
-rw-r--r-- | hw/arm/musicpal.c | 1 | ||||
-rw-r--r-- | hw/arm/nseries.c | 1 | ||||
-rw-r--r-- | hw/arm/omap1.c | 1 | ||||
-rw-r--r-- | hw/arm/omap2.c | 1 | ||||
-rw-r--r-- | hw/arm/sbsa-ref.c | 1 | ||||
-rw-r--r-- | hw/arm/spitz.c | 1 | ||||
-rw-r--r-- | hw/arm/stellaris.c | 1 | ||||
-rw-r--r-- | hw/arm/tosa.c | 2 | ||||
-rw-r--r-- | hw/arm/virt.c | 1 |
12 files changed, 12 insertions, 1 deletions
diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index ca4c71f8a2..362e5ba044 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -26,6 +26,7 @@ #include "hw/loader.h" #include "net/net.h" #include "sysemu/kvm.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "exec/address-spaces.h" diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index ecccb4125a..200568b42a 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -18,6 +18,7 @@ #include "hw/net/smc91c111.h" #include "net/net.h" #include "exec/address-spaces.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include "hw/char/pl011.h" diff --git a/hw/arm/msf2-soc.c b/hw/arm/msf2-soc.c index 76cc3e09b0..008fd9327a 100644 --- a/hw/arm/msf2-soc.c +++ b/hw/arm/msf2-soc.c @@ -30,6 +30,7 @@ #include "hw/irq.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #define MSF2_TIMER_BASE 0x40004000 diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 92fbe74d74..8ae4751d75 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -29,6 +29,7 @@ #include "hw/irq.h" #include "hw/audio/wm8750.h" #include "sysemu/block-backend.h" +#include "sysemu/runstate.h" #include "exec/address-spaces.h" #include "ui/pixel_ops.h" diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c index af99ff4522..a6c4085337 100644 --- a/hw/arm/nseries.c +++ b/hw/arm/nseries.c @@ -24,6 +24,7 @@ #include "qemu/cutils.h" #include "qemu/bswap.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/arm/omap.h" #include "hw/arm/boot.h" diff --git a/hw/arm/omap1.c b/hw/arm/omap1.c index d28ad2b9ff..0400593805 100644 --- a/hw/arm/omap1.c +++ b/hw/arm/omap1.c @@ -34,6 +34,7 @@ #include "hw/arm/soc_dma.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "qemu/range.h" #include "hw/sysbus.h" #include "qemu/cutils.h" diff --git a/hw/arm/omap2.c b/hw/arm/omap2.c index e0a9c2da83..bd7ddff983 100644 --- a/hw/arm/omap2.c +++ b/hw/arm/omap2.c @@ -25,6 +25,7 @@ #include "sysemu/blockdev.h" #include "sysemu/qtest.h" #include "sysemu/reset.h" +#include "sysemu/runstate.h" #include "hw/boards.h" #include "hw/irq.h" #include "hw/qdev-properties.h" diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 2a0e2ed1d0..e98e9a5170 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -24,6 +24,7 @@ #include "qemu/units.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "exec/address-spaces.h" #include "exec/hwaddr.h" diff --git a/hw/arm/spitz.c b/hw/arm/spitz.c index ee010c48b2..59348123b5 100644 --- a/hw/arm/spitz.c +++ b/hw/arm/spitz.c @@ -14,6 +14,7 @@ #include "qapi/error.h" #include "hw/arm/pxa.h" #include "hw/arm/boot.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/pcmcia.h" #include "hw/qdev-properties.h" diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index 9feb403f1e..b198066b54 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -18,6 +18,7 @@ #include "hw/boards.h" #include "qemu/log.h" #include "exec/address-spaces.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "hw/arm/armv7m.h" #include "hw/char/pl011.h" diff --git a/hw/arm/tosa.c b/hw/arm/tosa.c index 7f136bf187..e9627e356e 100644 --- a/hw/arm/tosa.c +++ b/hw/arm/tosa.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "sysemu/runstate.h" #include "hw/arm/pxa.h" #include "hw/arm/boot.h" #include "hw/arm/sharpsl.h" @@ -24,7 +25,6 @@ #include "hw/ssi/ssi.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "sysemu/sysemu.h" #define TOSA_RAM 0x04000000 #define TOSA_ROM 0x00800000 diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 226e810d06..02510acb81 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -45,6 +45,7 @@ #include "net/net.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h" +#include "sysemu/runstate.h" #include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "hw/loader.h" |