All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vhost-vdpa: fix the compile issue without kvm
@ 2020-07-08  7:12 Cindy Lu
  2020-07-08  8:21 ` Jason Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Cindy Lu @ 2020-07-08  7:12 UTC (permalink / raw)
  To: mst, armbru, eblake, cohuck, jasowang
  Cc: mhabets, qemu-devel, rob.miller, saugatm, lulu, hanand, hch,
	eperezma, jgg, shahafs, kevin.tian, parav, vmireyno,
	cunming.liang, gdawar, jiri, xiao.w.wang, stefanha, zhihong.wang,
	aadam, rdunlap, maxime.coquelin, lingshan.zhu

Fix the compile issue in the system without the kvm support

Signed-off-by: Cindy Lu <lulu@redhat.com>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost-vdpa: fix the compile issue without kvm
  2020-07-08  7:12 [PATCH] vhost-vdpa: fix the compile issue without kvm Cindy Lu
@ 2020-07-08  8:21 ` Jason Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2020-07-08  8:21 UTC (permalink / raw)
  To: Cindy Lu, mst, armbru, eblake, cohuck
  Cc: mhabets, qemu-devel, rob.miller, saugatm, hanand, hch, eperezma,
	jgg, shahafs, kevin.tian, parav, vmireyno, cunming.liang, gdawar,
	jiri, xiao.w.wang, stefanha, zhihong.wang, aadam, rdunlap,
	maxime.coquelin, lingshan.zhu


On 2020/7/8 下午3:12, Cindy Lu wrote:
> Fix the compile issue in the system without the kvm support
>
> Signed-off-by: Cindy Lu <lulu@redhat.com>
> ---
>   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)
>   {


Acked-by: Jason Wang <jasowang@redhat.com>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost-vdpa: fix the compile issue without kvm
  2020-07-08  8:49 Cindy Lu
@ 2020-07-08 10:21 ` Michael S. Tsirkin
  0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-07-08 10:21 UTC (permalink / raw)
  To: Cindy Lu
  Cc: Peter Maydell, mhabets, qemu-devel, rob.miller, saugatm, hanand,
	hch, eperezma, jgg, jasowang, shahafs, kevin.tian, parav,
	vmireyno, cunming.liang, gdawar, jiri, xiao.w.wang, stefanha,
	zhihong.wang, aadam, rdunlap, maxime.coquelin, lingshan.zhu

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] vhost-vdpa: fix the compile issue without kvm
@ 2020-07-08  8:49 Cindy Lu
  2020-07-08 10:21 ` Michael S. Tsirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Cindy Lu @ 2020-07-08  8:49 UTC (permalink / raw)
  To: mst, jasowang, qemu-devel
  Cc: mhabets, rob.miller, saugatm, lulu, hanand, hch, eperezma, jgg,
	shahafs, kevin.tian, parav, vmireyno, cunming.liang, gdawar,
	jiri, xiao.w.wang, stefanha, zhihong.wang, aadam, rdunlap,
	maxime.coquelin, lingshan.zhu

Fix the compile issue in the system without the kvm support

Signed-off-by: Cindy Lu <lulu@redhat.com>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-09  0:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  7:12 [PATCH] vhost-vdpa: fix the compile issue without kvm Cindy Lu
2020-07-08  8:21 ` Jason Wang
2020-07-08  8:49 Cindy Lu
2020-07-08 10:21 ` Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.