qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

vhost-vdpa: fix the compile issue without kvm

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>

authored by

Cindy Lu and committed by
Michael S. Tsirkin
4dc5acc0 eb2c66b1

+1 -2
+1 -2
hw/virtio/vhost-vdpa.c
··· 19 19 #include "hw/virtio/virtio-net.h" 20 20 #include "hw/virtio/vhost-vdpa.h" 21 21 #include "qemu/main-loop.h" 22 - #include <linux/kvm.h> 23 - #include "sysemu/kvm.h" 22 + #include "cpu.h" 24 23 25 24 static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section) 26 25 {