qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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>

authored by

Philippe Mathieu-Daudé and committed by
Laurent Vivier
71adf91a 4b997690

+1 -7
+1
hw/pci-host/q35.c
··· 29 29 */ 30 30 31 31 #include "qemu/osdep.h" 32 + #include "hw/i386/pc.h" 32 33 #include "hw/pci-host/q35.h" 33 34 #include "hw/qdev-properties.h" 34 35 #include "migration/vmstate.h"
-7
include/hw/pci-host/q35.h
··· 22 22 #ifndef HW_Q35_H 23 23 #define HW_Q35_H 24 24 25 - #include "hw/isa/isa.h" 26 - #include "hw/sysbus.h" 27 - #include "hw/i386/pc.h" 28 - #include "hw/isa/apm.h" 29 25 #include "hw/pci/pci.h" 30 26 #include "hw/pci/pcie_host.h" 31 - #include "hw/acpi/acpi.h" 32 - #include "hw/acpi/ich9.h" 33 27 #include "hw/pci-host/pam.h" 34 - #include "hw/i386/intel_iommu.h" 35 28 #include "qemu/units.h" 36 29 #include "qemu/range.h" 37 30