summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-11 09:57:37 +0100
committerCédric Le Goater <clg@redhat.com>2025-03-11 17:01:14 +0100
commita19ce97ed16c2892c6340fb46e693aa934ab7ebd (patch)
treef9bd15e710374e49195fe51b4f566b8f32699784
parentc6cd30feadb6907cf69d35babec74274e690164f (diff)
downloadfocaccia-qemu-a19ce97ed16c2892c6340fb46e693aa934ab7ebd.tar.gz
focaccia-qemu-a19ce97ed16c2892c6340fb46e693aa934ab7ebd.zip
hw/vfio/spapr: Do not include <linux/kvm.h>
<linux/kvm.h> is already included by "system/kvm.h" in the next line.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20250307180337.14811-3-philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20250311085743.21724-3-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r--hw/vfio/spapr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c
index 237f96dd3f..1a5d1611f2 100644
--- a/hw/vfio/spapr.c
+++ b/hw/vfio/spapr.c
@@ -11,9 +11,6 @@
 #include "qemu/osdep.h"
 #include <sys/ioctl.h>
 #include <linux/vfio.h>
-#ifdef CONFIG_KVM
-#include <linux/kvm.h>
-#endif
 #include "system/kvm.h"
 #include "system/hostmem.h"
 #include "exec/address-spaces.h"