From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFpqf-0005Yx-Gv for qemu-devel@nongnu.org; Wed, 13 Mar 2013 13:52:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFpqY-0007el-R8 for qemu-devel@nongnu.org; Wed, 13 Mar 2013 13:52:21 -0400 Received: from mail-yh0-x236.google.com ([2607:f8b0:4002:c01::236]:61618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFpqY-0007eV-MR for qemu-devel@nongnu.org; Wed, 13 Mar 2013 13:52:14 -0400 Received: by mail-yh0-f54.google.com with SMTP id 29so221198yhr.13 for ; Wed, 13 Mar 2013 10:52:14 -0700 (PDT) From: Anthony Liguori In-Reply-To: <5140B8E0.8040302@redhat.com> References: <1363154346-14827-1-git-send-email-qemulist@gmail.com> <51405BEA.6080109@redhat.com> <87hakfiild.fsf@codemonkey.ws> <5140A76E.1080902@redhat.com> <87vc8vrz6i.fsf@codemonkey.ws> <5140B8E0.8040302@redhat.com> Date: Wed, 13 Mar 2013 12:52:11 -0500 Message-ID: <87fvzzb31w.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [RFC PATCH 0/2] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: mdroth , Stefan Hajnoczi , "Michael S. Tsirkin" , Liu Ping Fan , qemu-devel@nongnu.org Paolo Bonzini writes: > Il 13/03/2013 18:23, Anthony Liguori ha scritto: >> I think the nesting is also a bit strange. > > Nesting's gone since we added coroutines. :) Okay, I owe AioContext a deeper look then. Regards, Anthony Liguori >>> I would like the dataplane virtio code to >>> grow everything else that needs to be in all dataplane-style devices >>> (for example, things such as setting up the guest<->host notifiers), and >>> the hw/virtio.c API implemented on top of it (or dead altogether). >>> Usage of AioContext is pretty much forced by the block layer. >> >> I don't think that AioContext is the right answer because it makes it >> too easy to shoot yourself in the foot. > > See above, if nesting is the problem it's gone. > > Paolo