Received: from eggs.gnu.org ([2001:4830:134:3::10]:58684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIBm9-0000D0-36 for qemu-devel@nongnu.org; Thu, 23 Jul 2015 04:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIBm7-0002KL-UN for qemu-devel@nongnu.org; Thu, 23 Jul 2015 04:22:45 -0400 Date: Thu, 23 Jul 2015 10:15:14 +0200 From: Kevin Wolf Message-ID: <20150723081514.GC4314@noname.redhat.com> References: <1437143029-12100-1-git-send-email-stefanha@redhat.com> <87vbdbgv1n.fsf@blackfin.pond.sub.org> <55B0A0FF.4040607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55B0A0FF.4040607@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/2] block: warn about aio=native if libaio is unavailable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-block@nongnu.org, Markus Armbruster , Stefan Hajnoczi , qemu-devel@nongnu.org Am 23.07.2015 um 10:08 hat Paolo Bonzini geschrieben: > > > On 23/07/2015 10:03, Markus Armbruster wrote: > > > >> > v2: > >> > * Banish CONFIG_LINUX_AIO from blockdev.c, that is raw-posix.c's business > >> > [Kevin] > >> > * Print the warning in the same way as the aio=native,cache.direct=off > >> > deprecation warning [Kevin] > >> > > >> > Open question: what about the Windows case? We now pass the > >> > FILE_FLAG_OVERLAPPED flag which we didn't do before for -drive aio=native. > > Odd. Commit a273652 takes the trouble to implement native asynchronous > > I/O there, but unless CONFIG_LINUX_AIO somehow gets defined, it's > > unreachable, isn't it? Paolo? > > I don't remember how I tested that code, but it's probably been dead > code since it was committed. If it's bitrot and thus these patches > break it, I will fix it. The tools use a different path, so qemu-img/io would have correctly used AIO on Windows. Kevin