vhost-vdpa: fix the compile issue without kvm
PATCH 1/1 vhost-vdpa: fix the compile issue without kvm
Fix the compile issue in the system without the kvm support
Signed-off-by Cindy Lu <[email protected]>
--- hw/virtio/vhost-vdpa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
hw/virtio/vhost-vdpa.c +1 -2
@@ -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) {
Signature · 1 line
2.21.1
Michael S. Tsirkin
AppliedQuoted 3 lines · Cindy Lu
Fix the compile issue in the system without the kvm support
Signed-off-by Cindy Lu <[email protected]>
Applied, thanks!
Peter if we need this fixed quickly, I pushed out for_upstream just with this one fix.
Thanks!
Quoted 20 lines
--- hw/virtio/vhost-vdpa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)hw/virtio/vhost-vdpa.c +1
-2@@ -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) {Signature · 1 line
2.21.1