aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/amd_iommu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-10-17 13:44:07 -0300
committerMichael Tokarev <mjt@tls.msk.ru>2017-12-18 17:07:02 +0300
commit433545d56930ad8867ff6950bd47e2b438173ef4 (patch)
tree41b8c8e0b413a18c197011fcc5efa4676055d6d6 /hw/i386/amd_iommu.c
parentf7ee2cf9d1aab216f3736baa0e90112ffbc649b2 (diff)
downloadqemu-433545d56930ad8867ff6950bd47e2b438173ef4.zip
qemu-433545d56930ad8867ff6950bd47e2b438173ef4.tar.gz
qemu-433545d56930ad8867ff6950bd47e2b438173ef4.tar.bz2
amd_iommu: avoid needless includes in header file
instead move them to the source file Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i386/amd_iommu.c')
-rw-r--r--hw/i386/amd_iommu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/i386/amd_iommu.c b/hw/i386/amd_iommu.c
index ad8155c..eeaf0e0 100644
--- a/hw/i386/amd_iommu.c
+++ b/hw/i386/amd_iommu.c
@@ -20,7 +20,10 @@
* Cache implementation inspired by hw/i386/intel_iommu.c
*/
#include "qemu/osdep.h"
-#include "hw/i386/amd_iommu.h"
+#include "hw/i386/pc.h"
+#include "hw/pci/msi.h"
+#include "hw/pci/pci_bus.h"
+#include "amd_iommu.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
#include "trace.h"