Received: from eggs.gnu.org ([2001:4830:134:3::10]:44364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyOrK-00045F-0t for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:46:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyOrA-0006N0-6W for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:46:01 -0500 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:58225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyOr9-0006Mw-Qo for qemu-devel@nongnu.org; Tue, 09 Dec 2014 12:45:52 -0500 Received: by mail-wi0-f179.google.com with SMTP id ex7so2579147wid.0 for ; Tue, 09 Dec 2014 09:45:51 -0800 (PST) Date: Tue, 9 Dec 2014 17:45:46 +0000 From: Stefan Hajnoczi Message-ID: <20141209174546.GI27053@stefanha-thinkpad.redhat.com> References: <1417465816-19345-1-git-send-email-jsnow@redhat.com> <1417465816-19345-9-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2nTeH+t2PBomgucg" Content-Disposition: inline In-Reply-To: <1417465816-19345-9-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [PATCH v9 08/10] qapi: Add transaction support to block-dirty-bitmap-{add, enable, disable} List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: kwolf@redhat.com, Fam Zheng , armbru@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com, vsementsov@parallels.com, stefanha@redhat.com, pbonzini@redhat.com --2nTeH+t2PBomgucg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 01, 2014 at 03:30:14PM -0500, John Snow wrote: > From: Fam Zheng >=20 > This adds three qmp commands to transactions. >=20 > Users can stop a dirty bitmap, start backup of it, and start another > dirty bitmap atomically, so that the dirty bitmap is tracked > incrementally and we don't miss any write. >=20 > Signed-off-by: Fam Zheng > Signed-off-by: John Snow > Reviewed-by: Max Reitz > --- > blockdev.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++ > qapi-schema.json | 5 +++- > 2 files changed, 89 insertions(+), 1 deletion(-) Please the following commint on block-next for examples of how to acquire/release AioContext in qmp_transaction: commit 6a50d4a7f758436828091336c8905b6fa870f8cb Author: Stefan Hajnoczi Date: Fri Nov 21 10:48:59 2014 +0000 blockdev: acquire AioContext in QMP 'transaction' actions --2nTeH+t2PBomgucg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUhzVKAAoJEJykq7OBq3PIigoH/io6WYy6+ZYALjqr/OiviZIm IIECaeRAdi7kInIqgK9uS1oJ/28JW2uCxwZJBbR0aRuu6I+3z1D0Cp4vOPqHtSbJ FHlfjMiGy5ffIpSn17iqiSFhbdSF+jpiJXh1lb7aFIQris/dTIHHE7TS3fOm6I8y bxRfZin/awrFa1Qtbvxl/hIEUvEoz6ePjEDv2EgcBRcand+c5EhHvR2KW1uq3fRt Yn3JtBttfBPawTe9uPFD47HUnTUPHP01SdsJRqt/psZUgvlCGMid2MFrsc/Ep3tV gwaN0WhW19i4tPgQVJOo2pNjh59sI4msHLEt2P0Pz+OpHexxk0QJek3UYT8WYDE= =ihaz -----END PGP SIGNATURE----- --2nTeH+t2PBomgucg--