Received: from eggs.gnu.org ([2001:4830:134:3::10]:52290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Swu-0004ue-9I for qemu-devel@nongnu.org; Fri, 27 Jun 2014 06:00:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0Swo-0005Qv-4y for qemu-devel@nongnu.org; Fri, 27 Jun 2014 06:00:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Swn-0005Qp-RT for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:59:58 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5R9xvaw008315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 27 Jun 2014 05:59:57 -0400 Date: Fri, 27 Jun 2014 11:59:55 +0200 From: Stefan Hajnoczi Message-ID: <20140627095955.GI12061@stefanha-thinkpad.muc.redhat.com> References: <1402322375-18899-1-git-send-email-stefanha@redhat.com> <5395D2DB.3060005@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9iyR+p8Z2cn535Lj" Content-Disposition: inline In-Reply-To: <5395D2DB.3060005@redhat.com> Subject: Re: [Qemu-devel] [PATCH] docs/multiple-iothreads.txt: add documentation on IOThread programming List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org --9iyR+p8Z2cn535Lj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 09, 2014 at 09:29:31AM -0600, Eric Blake wrote: > On 06/09/2014 07:59 AM, Stefan Hajnoczi wrote: > > This document explains how IOThreads and the main loop are related, > > especially how to write code that can run in an IOThread. Currently on > > virtio-blk-data-plane uses these techniques. The next obvious target is > > virtio-scsi; there has also been work on virtio-net. > >=20 > > Signed-off-by: Stefan Hajnoczi > > --- > > docs/multiple-iothreads.txt | 124 ++++++++++++++++++++++++++++++++++++= ++++++++ > > 1 file changed, 124 insertions(+) > > create mode 100644 docs/multiple-iothreads.txt > >=20 > > diff --git a/docs/multiple-iothreads.txt b/docs/multiple-iothreads.txt > > new file mode 100644 > > index 0000000..f2b008d > > --- /dev/null > > +++ b/docs/multiple-iothreads.txt > > @@ -0,0 +1,124 @@ > > +This document explains the IOThread feature and how to write code that= runs > > +outside the QEMU global mutex. >=20 > Pre-existing epidemic in this directory, but should you assert copyright > and a license? Yes, I'm happy to do that. --9iyR+p8Z2cn535Lj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTrUCbAAoJEJykq7OBq3PIS0gIALgHTWGLs1fhiiq8TxKFV9u3 CE8nKD16cD+eg/guAeL1eNFUVsPwe+Q0CkuTiCPMmMmiQWMwT/U2iOhdm1dANfkp OfHBlfm0ZBLI4toYXIVjMfkSvBJioFOB9QhKWHKw/QCpSf9gBHKrIl7lG/gSnkLV acfANWk1fCC6gZnCV1P09P9MOszpvSA7dmc9+nc59LGP1u5HxyqVbUsDFqCOgJBR oXZi+i0XHUscJA6wuJirjzzJ0CqxZKNM0IeUcuUcyEQ60cxz+6PlvuqIa6k4o3E0 690FZ46u6zEhkCchbp4ElAkMNPa1nqDPmK1GFG2SAoWmu2KcRr+f3mx4fyQTM38= =Qcn4 -----END PGP SIGNATURE----- --9iyR+p8Z2cn535Lj--