diff options
| author | Markus Armbruster | 2019-08-12 07:23:39 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-08-16 13:31:52 +0200 |
| commit | ca77ee28e03fb5052be01b9237b0a7cef5d90d4a (patch) | |
| tree | 45f9607cc7a1bb2f0cb24d6b174c3b06825a1008 /hw/pci-host | |
| parent | Include sysemu/reset.h a lot less (diff) | |
| download | qemu-ca77ee28e03fb5052be01b9237b0a7cef5d90d4a.tar.gz qemu-ca77ee28e03fb5052be01b9237b0a7cef5d90d4a.tar.xz qemu-ca77ee28e03fb5052be01b9237b0a7cef5d90d4a.zip | |
Include migration/qemu-file-types.h a lot less
In my "build everything" tree, changing migration/qemu-file-types.h
triggers a recompile of some 2600 out of 6600 objects (not counting
tests and objects that don't depend on qemu/osdep.h).
The culprit is again hw/hw.h, which supposedly includes it for
convenience.
Include migration/qemu-file-types.h only where it's needed. Touching
it now recompiles less than 200 objects.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190812052359.30071-10-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/pci-host')
| -rw-r--r-- | hw/pci-host/piix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index f3671d28b7..e5955457ab 100644 --- a/hw/pci-host/piix.c +++ b/hw/pci-host/piix.c @@ -32,6 +32,7 @@ #include "qapi/error.h" #include "qemu/range.h" #include "hw/xen/xen.h" +#include "migration/qemu-file-types.h" #include "hw/pci-host/pam.h" #include "sysemu/reset.h" #include "sysemu/sysemu.h" |
