diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:53 +0200 |
commit | 12e9493df9242a2051701e7eb64175d4e904acba (patch) | |
tree | 3a3246715d70676cda314d3f17dda31d67999f37 /target/i386/hvf | |
parent | a27bd6c779badb8d76e4430d810ef710a1b98f4e (diff) | |
download | qemu-12e9493df9242a2051701e7eb64175d4e904acba.zip qemu-12e9493df9242a2051701e7eb64175d4e904acba.tar.gz qemu-12e9493df9242a2051701e7eb64175d4e904acba.tar.bz2 |
Include hw/boards.h a bit less
hw/boards.h pulls in almost 60 headers. The less we include it into
headers, the better. As a first step, drop superfluous inclusions,
and downgrade some more to what's actually needed. Gets rid of just
one inclusion into a header.
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-23-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/hvf')
-rw-r--r-- | target/i386/hvf/hvf.c | 1 | ||||
-rw-r--r-- | target/i386/hvf/x86_task.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index dc4bb63..6863cf2 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -66,7 +66,6 @@ #include "exec/address-spaces.h" #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h" diff --git a/target/i386/hvf/x86_task.c b/target/i386/hvf/x86_task.c index 7099335..73cd5d2 100644 --- a/target/i386/hvf/x86_task.c +++ b/target/i386/hvf/x86_task.c @@ -27,7 +27,6 @@ #include <Hypervisor/hv_vmx.h> #include "hw/i386/apic_internal.h" -#include "hw/boards.h" #include "qemu/main-loop.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h" |