aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:11 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:50 +0200
commit4c386f8064ca3241a61341b5c5d5a70bbab496ab (patch)
tree2e2ab4f32c1b65f150fcdb40fd2d634736176d85 /hw/vfio
parent19f4ed3652e0868dd840d3bfe70cfa2cf41936be (diff)
Do not include sysemu/sysemu.h if it's not really necessary
Stop including sysemu/sysemu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-2-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/vfio')
-rw-r--r--hw/vfio/display.c1
-rw-r--r--hw/vfio/pci.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/vfio/display.c b/hw/vfio/display.c
index f04473e3ce..89bc90508f 100644
--- a/hw/vfio/display.c
+++ b/hw/vfio/display.c
@@ -14,7 +14,6 @@
#include <linux/vfio.h>
#include <sys/ioctl.h>
-#include "sysemu/sysemu.h"
#include "hw/display/edid.h"
#include "ui/console.h"
#include "qapi/error.h"
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 5c65aa0a98..ab4077aad2 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -37,7 +37,6 @@
#include "qemu/units.h"
#include "sysemu/kvm.h"
#include "sysemu/runstate.h"
-#include "sysemu/sysemu.h"
#include "pci.h"
#include "trace.h"
#include "qapi/error.h"