Received: from eggs.gnu.org ([208.118.235.92]:55946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULD4Y-0006NA-L8 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULD4W-0005g5-Sn for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:40:54 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:53143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULD4W-0005fz-Mb for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:40:52 -0400 Received: by mail-wi0-f174.google.com with SMTP id hj8so3312714wib.7 for ; Thu, 28 Mar 2013 06:40:51 -0700 (PDT) Date: Thu, 28 Mar 2013 14:40:49 +0100 From: Stefan Hajnoczi Message-ID: <20130328134049.GG22865@stefanha-thinkpad.redhat.com> References: <1364457355-4119-1-git-send-email-qemulist@gmail.com> <51540287.5030202@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51540287.5030202@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH v2 0/4] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: mdroth , Anthony Liguori , Liu Ping Fan , qemu-devel@nongnu.org On Thu, Mar 28, 2013 at 09:42:47AM +0100, Paolo Bonzini wrote: > Il 28/03/2013 08:55, Liu Ping Fan ha scritto: > > 3rd. block layer's AioContext will block other AioContexts on the same thread. > > I cannot understand this. The plan is for BlockDriverState to be bound to an AioContext. That means each thread is set up with one AioContext. BlockDriverStates that are used in that thread will first be bound to its AioContext. It's not very useful to have multiple AioContext in the same thread. Stefan