aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-28 12:46:48 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-03-09 15:59:31 +0100
commit71adf91a82ac3a34dbbbfc77ae9f06764bbb8553 (patch)
tree2a00dfe830768f9c51df3f5811c7d99086592a78
parent4b997690c60ba21135323d2db54a03495232acd6 (diff)
downloadqemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.zip
qemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.tar.gz
qemu-71adf91a82ac3a34dbbbfc77ae9f06764bbb8553.tar.bz2
hw/pci-host/q35: Remove unused includes
Only q35.c requires declarations from "hw/i386/pc.h", move it there. Remove all the includes not used by "q35.h". Acked-by: John Snow <jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200228114649.12818-18-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--hw/pci-host/q35.c1
-rw-r--r--include/hw/pci-host/q35.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
index a9b9ccc..993f467 100644
--- a/hw/pci-host/q35.c
+++ b/hw/pci-host/q35.c
@@ -29,6 +29,7 @@
*/
#include "qemu/osdep.h"
+#include "hw/i386/pc.h"
#include "hw/pci-host/q35.h"
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h
index 47086c6..070305f 100644
--- a/include/hw/pci-host/q35.h
+++ b/include/hw/pci-host/q35.h
@@ -22,16 +22,9 @@
#ifndef HW_Q35_H
#define HW_Q35_H
-#include "hw/isa/isa.h"
-#include "hw/sysbus.h"
-#include "hw/i386/pc.h"
-#include "hw/isa/apm.h"
#include "hw/pci/pci.h"
#include "hw/pci/pcie_host.h"
-#include "hw/acpi/acpi.h"
-#include "hw/acpi/ich9.h"
#include "hw/pci-host/pam.h"
-#include "hw/i386/intel_iommu.h"
#include "qemu/units.h"
#include "qemu/range.h"