mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
8a9358cc6e
commit
d645427057
425 changed files with 426 additions and 8 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "hw/irq.h"
|
||||
#include "hw/registerfields.h"
|
||||
#include "hw/watchdog/cmsdk-apb-watchdog.h"
|
||||
#include "migration/vmstate.h"
|
||||
|
||||
REG32(WDOGLOAD, 0x0)
|
||||
REG32(WDOGVALUE, 0x4)
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "hw/misc/aspeed_scu.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/watchdog/wdt_aspeed.h"
|
||||
#include "migration/vmstate.h"
|
||||
|
||||
#define WDT_STATUS (0x00 / 4)
|
||||
#define WDT_RELOAD_VALUE (0x04 / 4)
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/watchdog/wdt_diag288.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qemu/module.h"
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "sysemu/watchdog.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "migration/vmstate.h"
|
||||
|
||||
/*#define I6300ESB_DEBUG 1*/
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "sysemu/watchdog.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "migration/vmstate.h"
|
||||
|
||||
/*#define IB700_DEBUG 1*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue