Revision 583f6e7b

b/configure
223 223
coroutine=""
224 224
seccomp=""
225 225
glusterfs=""
226
virtio_blk_data_plane=""
226 227

  
227 228
# parse CC options first
228 229
for opt do
......
882 883
  ;;
883 884
  --enable-glusterfs) glusterfs="yes"
884 885
  ;;
886
  --disable-virtio-blk-data-plane) virtio_blk_data_plane="no"
887
  ;;
888
  --enable-virtio-blk-data-plane) virtio_blk_data_plane="yes"
889
  ;;
885 890
  *) echo "ERROR: unknown option $opt"; show_help="yes"
886 891
  ;;
887 892
  esac
......
2274 2279
fi
2275 2280

  
2276 2281
##########################################
2282
# adjust virtio-blk-data-plane based on linux-aio
2283

  
2284
if test "$virtio_blk_data_plane" = "yes" -a \
2285
	"$linux_aio" != "yes" ; then
2286
  echo "Error: virtio-blk-data-plane requires Linux AIO, please try --enable-linux-aio"
2287
  exit 1
2288
elif test -z "$virtio_blk_data_plane" ; then
2289
  virtio_blk_data_plane=$linux_aio
2290
fi
2291

  
2292
##########################################
2277 2293
# attr probe
2278 2294

  
2279 2295
if test "$attr" != "no" ; then
......
3289 3305
echo "seccomp support   $seccomp"
3290 3306
echo "coroutine backend $coroutine_backend"
3291 3307
echo "GlusterFS support $glusterfs"
3308
echo "virtio-blk-data-plane $virtio_blk_data_plane"
3292 3309

  
3293 3310
if test "$sdl_too_old" = "yes"; then
3294 3311
echo "-> Your SDL version is too old - please upgrade to have SDL support"
......
3634 3651
  echo "CONFIG_GLUSTERFS=y" >> $config_host_mak
3635 3652
fi
3636 3653

  
3654
if test "$virtio_blk_data_plane" = "yes" ; then
3655
  echo "CONFIG_VIRTIO_BLK_DATA_PLANE=y" >> $config_host_mak
3656
fi
3657

  
3637 3658
# USB host support
3638 3659
case "$usb" in
3639 3660
linux)

Also available in: Unified diff