aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:13 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:51 +0200
commit2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (patch)
tree0e81654d30815d42fb6bb95105a7e2f3e6ebc1b1 /hw/vfio
parentead62c75f618c072a3a18221fd03ae99ae923cca (diff)
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>