From: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> 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 <stefa...@linux.vnet.ibm.com> --- 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