qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [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
* [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

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  8:49 [PATCH] vhost-vdpa: fix the compile issue without kvm Cindy Lu
2020-07-08 10:21 ` Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2020-07-08  7:12 Cindy Lu
2020-07-08  8:21 ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).