Skip to content

Commit 4dc5acc

Browse files
lulu-github-namemstsirkin
authored andcommitted
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]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent eb2c66b commit 4dc5acc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hw/virtio/vhost-vdpa.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
#include "hw/virtio/virtio-net.h"
2020
#include "hw/virtio/vhost-vdpa.h"
2121
#include "qemu/main-loop.h"
22-
#include <linux/kvm.h>
23-
#include "sysemu/kvm.h"
22+
#include "cpu.h"
2423

2524
static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section)
2625
{

0 commit comments

Comments
 (0)