]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
vhost-vdpa: fix the compile issue without kvm
authorCindy Lu <lulu@redhat.com>
Wed, 8 Jul 2020 08:49:22 +0000 (16:49 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Jul 2020 10:16:48 +0000 (06:16 -0400)
Fix the compile issue in the system without the kvm support

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20200708084922.21904-1-lulu@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c

index a3d17fe0f9f45a898f49d598299bba5b0b79c9e5..65d5aaf08a638987fa449d8c978d63d4887603f4 100644 (file)
@@ -19,8 +19,7 @@
 #include "hw/virtio/virtio-net.h"
 #include "hw/virtio/vhost-vdpa.h"
 #include "qemu/main-loop.h"
-#include <linux/kvm.h>
-#include "sysemu/kvm.h"
+#include "cpu.h"
 
 static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section)
 {