diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:45 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:52 +0200 |
commit | d6454270575da1f16a8923c7cb240e46ef243f72 (patch) | |
tree | a3b5feacbd4c320cbe04d0b79e2fdc29c350c167 /hw/audio | |
parent | 8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379 (diff) |
Include migration/vmstate.h less
In my "build everything" tree, changing migration/vmstate.h triggers a
recompile of some 2700 out of 6600 objects (not counting tests and
objects that don't depend on qemu/osdep.h).
hw/hw.h supposedly includes it for convenience. Several other headers
include it just to get VMStateDescription. The previous commit made
that unnecessary.
Include migration/vmstate.h only where it's still needed. Touching it
now recompiles only some 1600 objects.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-16-armbru@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/audio')
-rw-r--r-- | hw/audio/ac97.c | 1 | ||||
-rw-r--r-- | hw/audio/cs4231.c | 1 | ||||
-rw-r--r-- | hw/audio/cs4231a.c | 1 | ||||
-rw-r--r-- | hw/audio/es1370.c | 1 | ||||
-rw-r--r-- | hw/audio/gus.c | 1 | ||||
-rw-r--r-- | hw/audio/hda-codec.c | 1 | ||||
-rw-r--r-- | hw/audio/intel-hda.c | 1 | ||||
-rw-r--r-- | hw/audio/lm4549.c | 1 | ||||
-rw-r--r-- | hw/audio/marvell_88w8618.c | 1 | ||||
-rw-r--r-- | hw/audio/milkymist-ac97.c | 1 | ||||
-rw-r--r-- | hw/audio/pcspk.c | 1 | ||||
-rw-r--r-- | hw/audio/pl041.c | 1 | ||||
-rw-r--r-- | hw/audio/sb16.c | 1 | ||||
-rw-r--r-- | hw/audio/wm8750.c | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c index fb98da2678..26ac84b388 100644 --- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -22,6 +22,7 @@ #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/dma.h" diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c index 8372299ebb..b5d3e895ce 100644 --- a/hw/audio/cs4231.c +++ b/hw/audio/cs4231.c @@ -24,6 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "trace.h" diff --git a/hw/audio/cs4231a.c b/hw/audio/cs4231a.c index 9eeab137c7..f7a39c0af4 100644 --- a/hw/audio/cs4231a.c +++ b/hw/audio/cs4231a.c @@ -29,6 +29,7 @@ #include "hw/irq.h" #include "hw/isa/isa.h" #include "hw/qdev.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "qemu/timer.h" #include "qapi/error.h" diff --git a/hw/audio/es1370.c b/hw/audio/es1370.c index 260c142b70..0289f771c1 100644 --- a/hw/audio/es1370.c +++ b/hw/audio/es1370.c @@ -31,6 +31,7 @@ #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "sysemu/dma.h" diff --git a/hw/audio/gus.c b/hw/audio/gus.c index 61230147ce..1a78cc47cd 100644 --- a/hw/audio/gus.c +++ b/hw/audio/gus.c @@ -30,6 +30,7 @@ #include "audio/audio.h" #include "hw/irq.h" #include "hw/isa/isa.h" +#include "migration/vmstate.h" #include "gusemu.h" #include "gustate.h" diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c index 84639b5424..4f6fbb8b13 100644 --- a/hw/audio/hda-codec.c +++ b/hw/audio/hda-codec.c @@ -21,6 +21,7 @@ #include "hw/hw.h" #include "hw/pci/pci.h" #include "intel-hda.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "intel-hda-defs.h" #include "audio/audio.h" diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index b78baac295..e6f150bb0d 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -27,6 +27,7 @@ #include "qemu/module.h" #include "hw/audio/soundhw.h" #include "intel-hda.h" +#include "migration/vmstate.h" #include "intel-hda-defs.h" #include "sysemu/dma.h" #include "qapi/error.h" diff --git a/hw/audio/lm4549.c b/hw/audio/lm4549.c index af8b22b541..32b1481b56 100644 --- a/hw/audio/lm4549.c +++ b/hw/audio/lm4549.c @@ -17,6 +17,7 @@ #include "hw/hw.h" #include "audio/audio.h" #include "lm4549.h" +#include "migration/vmstate.h" #if 0 #define LM4549_DEBUG 1 diff --git a/hw/audio/marvell_88w8618.c b/hw/audio/marvell_88w8618.c index 167b478ec6..6345bc1d5c 100644 --- a/hw/audio/marvell_88w8618.c +++ b/hw/audio/marvell_88w8618.c @@ -12,6 +12,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "hw/hw.h" #include "hw/irq.h" #include "hw/audio/wm8750.h" diff --git a/hw/audio/milkymist-ac97.c b/hw/audio/milkymist-ac97.c index 3ba382ee4d..890a5fe89e 100644 --- a/hw/audio/milkymist-ac97.c +++ b/hw/audio/milkymist-ac97.c @@ -25,6 +25,7 @@ #include "hw/hw.h" #include "hw/irq.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "trace.h" #include "audio/audio.h" #include "qemu/error-report.h" diff --git a/hw/audio/pcspk.c b/hw/audio/pcspk.c index a7b3ab0c2b..9039c9786d 100644 --- a/hw/audio/pcspk.c +++ b/hw/audio/pcspk.c @@ -30,6 +30,7 @@ #include "qemu/module.h" #include "qemu/timer.h" #include "hw/timer/i8254.h" +#include "migration/vmstate.h" #include "hw/audio/pcspk.h" #include "qapi/error.h" diff --git a/hw/audio/pl041.c b/hw/audio/pl041.c index 47f0dfff18..3c371397de 100644 --- a/hw/audio/pl041.c +++ b/hw/audio/pl041.c @@ -28,6 +28,7 @@ #include "pl041.h" #include "lm4549.h" +#include "migration/vmstate.h" #if 0 #define PL041_DEBUG_LEVEL 1 diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c index ba5a5dd022..599194779d 100644 --- a/hw/audio/sb16.c +++ b/hw/audio/sb16.c @@ -29,6 +29,7 @@ #include "hw/irq.h" #include "hw/isa/isa.h" #include "hw/qdev.h" +#include "migration/vmstate.h" #include "qemu/timer.h" #include "qemu/host-utils.h" #include "qemu/log.h" diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index 81f83eea88..9f6df5d59c 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "migration/vmstate.h" #include "qemu/module.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" |