qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 05/16] virtio-scsi: Build virtio-scsi.o against vhos


From: zwu . kernel
Subject: [Qemu-devel] [PATCH 05/16] virtio-scsi: Build virtio-scsi.o against vhost.o
Date: Thu, 19 Apr 2012 10:38:58 +0800

From: Stefan Hajnoczi <address@hidden>

For the time being virtio-scsi.c will directly use vhost without a host
device abstraction like virtio-net does.  This patch builds virtio-scsi
with vhost on KVM targets.

Also make sure that virtio-pci.o can be built without virtio-scsi.o.

Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 configure |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 2d62d12..efd8685 100755
--- a/configure
+++ b/configure
@@ -3682,6 +3682,8 @@ case "$target_arch2" in
       if test "$vhost_net" = "yes" ; then
         echo "CONFIG_VHOST_NET=y" >> $config_target_mak
       fi
+      echo "CONFIG_VIRTIO_SCSI=y" >> $config_target_mak
+      echo "CONFIG_VHOST=y" >> $config_target_mak
     fi
 esac
 if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then
-- 
1.7.6




reply via email to

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