qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] vhost-vdpa: fix the compile issue without kvm


From: Michael S. Tsirkin
Subject: Re: [PATCH] vhost-vdpa: fix the compile issue without kvm
Date: Wed, 8 Jul 2020 06:21:32 -0400

On Wed, Jul 08, 2020 at 04:49:22PM +0800, Cindy Lu wrote:
> Fix the compile issue in the system without the kvm support
> 
> Signed-off-by: Cindy Lu <lulu@redhat.com>

Applied, thanks!
Peter if we need this fixed quickly, I pushed out for_upstream
just with this one fix.

Thanks!

> ---
>  hw/virtio/vhost-vdpa.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
> index a3d17fe0f9..65d5aaf08a 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 <linux/kvm.h>
> -#include "sysemu/kvm.h"
> +#include "cpu.h"
>  
>  static bool vhost_vdpa_listener_skipped_section(MemoryRegionSection *section)
>  {
> -- 
> 2.21.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]