From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUgPW-0001Ga-IC for qemu-devel@nongnu.org; Tue, 23 Apr 2013 12:49:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUgPS-0001My-17 for qemu-devel@nongnu.org; Tue, 23 Apr 2013 12:49:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUgPR-0001Mp-KO for qemu-devel@nongnu.org; Tue, 23 Apr 2013 12:49:37 -0400 Message-ID: <5176BB9F.5060003@redhat.com> Date: Tue, 23 Apr 2013 10:49:35 -0600 From: Eric Blake MIME-Version: 1.0 References: <1366734308-11724-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1366734308-11724-1-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2SABVVOAKJSVBFQDXTBEF" Subject: Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Fam Zheng , qemu-devel@nongnu.org, Ian Main , Paolo Bonzini , dietmar@proxmox.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2SABVVOAKJSVBFQDXTBEF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/23/2013 10:25 AM, Stefan Hajnoczi wrote: > This series adds a new QMP command, block-backup, which takes a point-i= n-time > snapshot of a block device. The snapshot is copied out to a target blo= ck > device. A simple example is: >=20 > block-backup device=3Dvirtio0 format=3Dqcow2 target=3Dbackup-20130401= =2Eqcow2 > What's next for block-backup? > ----------------------------- > The following enhancements are left for future patches: >=20 > 1. QMP 'transaction' support. It is handy to atomically snapshot multi= ple > block devices. We need qmp_transaction() support for this. Wenchao= Xia is > currently making qmp_transaction() extensible so new action types, l= ike > block-backup, can be added. >=20 > 2. Sync modes like drive-mirror (top, full, none). This makes it possi= ble to > preserve the backing file chain. Based on today's phone call, it sounds like this would mean adding optional parameters to the QMP command. We already did that for drive-mirror (1.4 has more parameters than 1.3), but without a way to introspect when those parameters are available, the new parameters aren't quite as useful. So we don't repeat that mistake, we need to decide whether this should still go into 1.5 with a plan of adding parameters for 1.6, or whether we should add a counterpart query-* command that makes it easy to determine how much of block-backup is supported, or [your suggestion here].... --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2SABVVOAKJSVBFQDXTBEF 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRdrufAAoJEKeha0olJ0NqD4QH/3gp+3YU3m/n0z+Brgkvd7V7 /J+f31fl3OWOEGiz+Sp8vz3DF0rNbAYQ/HSFqJIAHngG2ldOVZ6CStEysHhRN7it v+VsJiWLp6vTrI6uzjhVa5d1hHgCtqqlJqiBRIpKJJr8nnDtlK81s3bDhjg2EOUk ztGBi5jzOMzumfZGQ/+th6JSQekRpnom+SzQ/pIR0HLTmRNIcLeWg0dTflFjl/zL 4oJmIEIcoXqsaQjzP+ddrKvfF8nPg44drdYeuTMycGh3k4WvItIT/p38RIwaP00m 9zrpf6Dn3DqR+DwOsTi7QEEKnGcNHquhz054boASiYAfpDn4Cm02iZN2uRDrthY= =+ICq -----END PGP SIGNATURE----- ------enig2SABVVOAKJSVBFQDXTBEF--