]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/vfio/spapr: Do not include <linux/kvm.h>
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 11 Mar 2025 08:57:37 +0000 (09:57 +0100)
committerCédric Le Goater <clg@redhat.com>
Tue, 11 Mar 2025 16:01:14 +0000 (17:01 +0100)
<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>
hw/vfio/spapr.c

index 237f96dd3fa2b7e1c859471fee014d5a3d31f1f0..1a5d1611f2cdc8fa6254a77b8ec3d1f56d28e3a6 100644 (file)
@@ -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"