From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGvSK-0004SO-Go for qemu-devel@nongnu.org; Wed, 26 Sep 2012 13:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGvSF-0003vp-Fg for qemu-devel@nongnu.org; Wed, 26 Sep 2012 13:31:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGvSF-0003vi-5l for qemu-devel@nongnu.org; Wed, 26 Sep 2012 13:31:23 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8QHVMu7022549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Sep 2012 13:31:22 -0400 Message-ID: <50633BE7.4050302@redhat.com> Date: Wed, 26 Sep 2012 11:31:19 -0600 From: Eric Blake MIME-Version: 1.0 References: <1348675011-8794-1-git-send-email-pbonzini@redhat.com> <1348675011-8794-7-git-send-email-pbonzini@redhat.com> In-Reply-To: <1348675011-8794-7-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig41CD1068F5C2ECA66E52CC5C" Subject: Re: [Qemu-devel] [PATCH v2 06/45] block: add support for job pause/resume List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig41CD1068F5C2ECA66E52CC5C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/26/2012 09:56 AM, Paolo Bonzini wrote: > Job pausing reuses the existing support for cancellable sleeps. A paus= e > happens at the next sleeping point and lasts until the coroutine is > re-entered explicitly. Cancellation was already doing a forced resume,= > so implement it explicitly in terms of resume. >=20 > Paused jobs cannot be canceled without first resuming them. This ensur= es > that I/O errors are never missed by management. >=20 > Signed-off-by: Paolo Bonzini > --- > +++ b/qapi-schema.json > @@ -1098,6 +1098,8 @@ > # > # @len: the maximum progress value > # > +# @paused: whether the job is paused (since 1.2) 1.3 --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig41CD1068F5C2ECA66E52CC5C 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.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQYzvnAAoJEKeha0olJ0NqgkgIAKzIP8J22nj73fpxZUXkqSyx odLNB8jYs3kptrcmXRiDurMbDu72cvXLXaHeAH/RtdrSngdh3yAqdBvzP95jqRuw RolroAkTzDhSaElQg9NprLA29M1xbh04L03uTL/DaP4GEhP87qQFaHiSA0q2fBEp S5BMDW5f751F0ds30WCmhariWBi/Bb5drRA5Urk+L9jkTJO/ZT/04CudRP2wopZ8 DtxZDwxQIzwws828UFujOU6BVOQpnqLjXk2ln+JVfFErDHKxQgE50lNblDhoJpWB sTBGYinA1KA0Ecyi9XyCd8flzDZgDY7mS/hEO3Lx07g+UQs+0kOLsJhELwWlF+U= =Rawk -----END PGP SIGNATURE----- --------------enig41CD1068F5C2ECA66E52CC5C--