From: Cindy Lu Date: Wed, 8 Jul 2020 08:49:22 +0000 (+0800) Subject: vhost-vdpa: fix the compile issue without kvm X-Git-Tag: v5.1.0-rc0~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4dc5acc07e88b2776513db75944f2e240116ebda;p=thirdparty%2Fqemu.git vhost-vdpa: fix the compile issue without kvm Fix the compile issue in the system without the kvm support Signed-off-by: Cindy Lu Message-Id: <20200708084922.21904-1-lulu@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c index a3d17fe0f9f..65d5aaf08a6 100644 --- a/hw/virtio/vhost-vdpa.c +++ b/hw/virtio/vhost-vdpa.c @@ -19,8 +19,7 @@ #include "hw/virtio/virtio-net.h" #include "hw/virtio/vhost-vdpa.h" #include "qemu/main-loop.h" -#include -#include "sysemu/kvm.h" +#include "cpu.h" static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section) {