Received: from eggs.gnu.org ([2001:4830:134:3::10]:39801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNAwi-0001iB-T3 for qemu-devel@nongnu.org; Thu, 28 Aug 2014 21:25:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNAwc-0005g5-NO for qemu-devel@nongnu.org; Thu, 28 Aug 2014 21:25:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNAwc-0005fy-3J for qemu-devel@nongnu.org; Thu, 28 Aug 2014 21:25:38 -0400 From: Fam Zheng Date: Fri, 29 Aug 2014 09:25:47 +0800 Message-Id: <1409275547-28984-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] block: Loose dataplane dependency List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, benoit.canet@irqsave.net, stefanha@redhat.com Before virtio-blk dataplane is switched to use block layer, it used to rely on the presence of linux-aio. Now the dependency is Linux, where the vring code has "#include ". Signed-off-by: Fam Zheng --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 2063cf6..a7d5a69fe 100755 --- a/configure +++ b/configure @@ -2939,10 +2939,10 @@ fi # adjust virtio-blk-data-plane based on linux-aio if test "$virtio_blk_data_plane" = "yes" -a \ - "$linux_aio" != "yes" ; then - error_exit "virtio-blk-data-plane requires Linux AIO, please try --enable-linux-aio" + "$linux" != "yes" ; then + error_exit "virtio-blk-data-plane requires Linux" elif test -z "$virtio_blk_data_plane" ; then - virtio_blk_data_plane=$linux_aio + virtio_blk_data_plane=$linux fi ########################################## -- 2.1.0