From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0bio-0005lM-FK for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0bih-0002QR-37 for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:22:06 -0400 Received: from qmta15.emeryville.ca.mail.comcast.net ([76.96.27.228]:50543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0big-0002QB-G3 for qemu-devel@nongnu.org; Fri, 27 Jun 2014 15:21:59 -0400 Message-ID: <53ADC452.4040601@redhat.com> Date: Fri, 27 Jun 2014 13:21:54 -0600 From: Eric Blake MIME-Version: 1.0 References: <1403864589-25832-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1403864589-25832-1-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hwSQURUBA5bKLbtqRNDKkLp5RcJRjMiWx" Subject: Re: [Qemu-devel] [PATCH v2] docs/multiple-iothreads.txt: add documentation on IOThread programming List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Fam Zheng This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hwSQURUBA5bKLbtqRNDKkLp5RcJRjMiWx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/27/2014 04:23 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 > only 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 > --- > v2: > * Mention AioContext file descriptor monitoring is POSIX host only [Pa= olo] > * Add note that block layer code must use AioContext APIs [Paolo] > * Add copyright and license header [Eric] > * Add missing comma [Eric] > * Fix s/on/only/ typo in commit description [Fam] >=20 > docs/multiple-iothreads.txt | 134 ++++++++++++++++++++++++++++++++++++= ++++++++ > 1 file changed, 134 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..01d2491 > --- /dev/null > +++ b/docs/multiple-iothreads.txt > @@ -0,0 +1,134 @@ > +Copyright (c) 2014 Red Hat Inc. > + > +This work is licensed under the terms of the GNU GPL, version 2. See > +the COPYING file in the top-level directory. Please: GPLv2+, not GPLv2-only --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --hwSQURUBA5bKLbtqRNDKkLp5RcJRjMiWx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTrcRSAAoJEKeha0olJ0Nqrx8IAIEpjqcyk9N6X9JD/v9R5ADL UfGB9WyFDqIPXZIek11Qz8xffKTHX5fCAgpCH42G6gjUWaFQxNZdjbK3cYRIRW2J vWMmycld+WQUFPeD4yNZO0/UCpki5TPED+aFdtnMP9Cg/i5we4OkjFT+4HKVJSpf Okbxo+G/rCEbyR/JwOGYx12W6Ij8qz6C2X2p59/cJd055rMMdiA9Fvc/JHqinHcl NZiwIYq9/u6m133oDJzcWO58ck5d1BzqqytINFCA8E045YdOVpvl8EZuWpXLSx+h Qfvbqzwf4ybQjfTMkLnAhKE/f/rZPbN1jz+WtDDoY62PirsF9N73gjqQ0+nj92E= =MoS1 -----END PGP SIGNATURE----- --hwSQURUBA5bKLbtqRNDKkLp5RcJRjMiWx--