summaryrefslogtreecommitdiffstats
path: root/hw/vfio
diff options
context:
space:
mode:
authorThomas Huth2021-04-16 19:13:13 +0200
committerLaurent Vivier2021-05-02 17:24:51 +0200
commit2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (patch)
tree0e81654d30815d42fb6bb95105a7e2f3e6ebc1b1 /hw/vfio
parentDo not include hw/boards.h if it's not really necessary (diff)
downloadqemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.gz
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.xz
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.zip
Do not include cpu.h if it's not really necessary
Stop including cpu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-4-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/vfio')
-rw-r--r--hw/vfio/ap.c1
-rw-r--r--hw/vfio/migration.c1
-rw-r--r--hw/vfio/spapr.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c
index f9dbec37da..4b32aca1a0 100644
--- a/hw/vfio/ap.c
+++ b/hw/vfio/ap.c
@@ -21,7 +21,6 @@
#include "qemu/module.h"
#include "qemu/option.h"
#include "qemu/config-file.h"
-#include "cpu.h"
#include "kvm_s390x.h"
#include "migration/vmstate.h"
#include "hw/qdev-properties.h"
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c
index 384576cfc0..201642d75e 100644
--- a/hw/vfio/migration.c
+++ b/hw/vfio/migration.c
@@ -15,7 +15,6 @@
#include "sysemu/runstate.h"
#include "hw/vfio/vfio-common.h"
-#include "cpu.h"
#include "migration/migration.h"
#include "migration/vmstate.h"
#include "migration/qemu-file.h"
diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c
index 2900bd1941..ea3f70bd2f 100644
--- a/hw/vfio/spapr.c
+++ b/hw/vfio/spapr.c
@@ -9,7 +9,6 @@
*/
#include "qemu/osdep.h"
-#include "cpu.h"
#include <sys/ioctl.h>
#include <linux/vfio.h>