From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8ZJI-0000FW-9t for qemu-devel@nongnu.org; Mon, 25 May 2009 08:29:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8ZJD-00009W-HA for qemu-devel@nongnu.org; Mon, 25 May 2009 08:29:43 -0400 Received: from [199.232.76.173] (port=57644 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8ZJD-00009F-BV for qemu-devel@nongnu.org; Mon, 25 May 2009 08:29:39 -0400 Received: from verein.lst.de ([213.95.11.210]:42988) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1M8ZJC-00089x-P2 for qemu-devel@nongnu.org; Mon, 25 May 2009 08:29:39 -0400 Date: Mon, 25 May 2009 14:29:29 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] Do we need CONFIG_AIO? Message-ID: <20090525122929.GA16576@lst.de> References: <20090525082151.GA4107@lst.de> <4A1A85B4.3060200@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A1A85B4.3060200@eu.citrix.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: Christoph Hellwig , "qemu-devel@nongnu.org" On Mon, May 25, 2009 at 12:49:08PM +0100, Stefano Stabellini wrote: > > Currently all aio code in the raw-posix block driver depends on a > > CONFIG_AIO symbol that gets set based on the availability of the > > pthreads library. Beeing able to rely on unconditional aio support > > means we could remove the whole code for plain bdrv_read/bdrv_write > > in raw-posix.c which is about 300 lines of code and a duplicated code > > path. Is there any Posix-ish platform qemu supports that does not > > have pthreads support? > > > > MiniOS. > I would appreciate if you keep that flag. I can't find MiniOS mentioned anywhere in the qemu tree. From googling around it seems to be some Xen demo kernel. Do you plan to merge support for it one day? And what's the use case for qemu on MiniOS? If it's anything performance sensitive the lack of aio will cause quite severe stalling of the guest.