From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiO4G-0003ba-4U for qemu-devel@nongnu.org; Thu, 08 May 2014 09:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiO49-0004jG-VR for qemu-devel@nongnu.org; Thu, 08 May 2014 09:08:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiO49-0004jA-OY for qemu-devel@nongnu.org; Thu, 08 May 2014 09:08:49 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s48D8mjD016152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 8 May 2014 09:08:49 -0400 Date: Thu, 8 May 2014 15:08:46 +0200 From: Kevin Wolf Message-ID: <20140508130846.GC4034@noname.redhat.com> References: <20140508101655.GA7534@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140508101655.GA7534@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [RFC] dataplane: IOThreads and writing dataplane-capable code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org, Max Reitz Am 08.05.2014 um 12:16 hat Stefan Hajnoczi geschrieben: > Side note: The main loop and IOThread are both event loops but their code is > not shared completely. Sometimes it is useful to remember that although they > are conceptually similar they are currently not interchangeable. We need to be careful with the terminology. The choice made here, that the main loop thread is not an IOThread, is somewhat unfortunate, because traditionally, the "I/O thread" has been what the main loop thread is called (in contrast to vcpu threads). Kevin