From a3392f9b100e6b63616922a8b30ad9643c62785a Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 11 Sep 2008 18:00:19 +0000 Subject: Only build compatfd when using AIO and make sure to always init AIO OpenBSD doesn't use AIO so don't try to build compatfd when not using AIO. Also make sure to call qemu_aio_init() from bdrv_init. Everything that uses bdrv calls bdrv_init so it makes sense to init aio from there instead of in every single tool. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5197 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index f1ee0af..1da42a1 100755 --- a/configure +++ b/configure @@ -1220,6 +1220,7 @@ if test "$brlapi" = "yes" ; then fi if test "$aio" = "yes" ; then echo "#define CONFIG_AIO 1" >> $config_h + echo "CONFIG_AIO=yes" >> $config_mak fi # XXX: suppress that -- cgit v1.1