From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud3ab-0001LT-IR for qemu-devel@nongnu.org; Thu, 16 May 2013 15:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ud3aa-0004C5-IU for qemu-devel@nongnu.org; Thu, 16 May 2013 15:11:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud3aa-0004By-AH for qemu-devel@nongnu.org; Thu, 16 May 2013 15:11:44 -0400 Message-ID: <51952F6C.6010003@redhat.com> Date: Thu, 16 May 2013 13:11:40 -0600 From: Eric Blake MIME-Version: 1.0 References: <1368693379-8434-1-git-send-email-stefanha@redhat.com> <1368693379-8434-4-git-send-email-stefanha@redhat.com> In-Reply-To: <1368693379-8434-4-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LJCURHONLOKUKKTJWQBB" Subject: Re: [Qemu-devel] [PATCH v4 3/8] block: add drive-backup QMP 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, dietmar@proxmox.com, imain@redhat.com, Paolo Bonzini , xiawenc@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LJCURHONLOKUKKTJWQBB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/16/2013 02:36 AM, Stefan Hajnoczi wrote: > @drive-backup >=20 > Start a point-in-time copy of a block device to a new destination. The= > status of ongoing drive-backup operations can be checked with > query-block-jobs where the BlockJobInfo.type field has the value 'backu= p'. > The operation can be stopped before it has completed using the > block-job-cancel command. >=20 > @device: the name of the device whose writes should be mirrored. >=20 > @target: the target of the new image. If the file exists, or if it > is a device, the existing file/device will be used as the new > destination. If it does not exist, a new file will be created= =2E >=20 > @format: #optional the format of the new destination, default is to > probe if @mode is 'existing', else the format of the source >=20 > @mode: #optional whether and how QEMU should create a new image, defaul= t is > 'absolute-paths'. >=20 > @speed: #optional the maximum speed, in bytes per second >=20 > Returns: nothing on success > If @device is not a valid block device, DeviceNotFound >=20 > Since 1.6 >=20 > Signed-off-by: Stefan Hajnoczi > --- > blockdev.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > qapi-schema.json | 32 ++++++++++++++++++++ > qmp-commands.hx | 37 +++++++++++++++++++++++ > 3 files changed, 161 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LJCURHONLOKUKKTJWQBB 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/ iQEcBAEBCAAGBQJRlS9sAAoJEKeha0olJ0Nqh28H/1uwbH8JdlcGcc/yF7slyCxT 0FFHkpGpiydLS84WzwC/3GFdO0flTiPmj4cioJQOjBPWBj2ZNANEMeR/QNuQ+BPB TDBI82m2ruxb/jILy6yuQMXPY6VE/Wg/mtVOU7u4/xUpmu9I3LZxBBJLjntsXHm8 z3WAqRgt/Wp3Wzja8U5JWbbPuD+GgA6SyvRoTWZ52MLS5H268DSCQ45tfvx/jeHD Yj/k7I2ixtj2GEdksOHVst+hAYsRaopaD6lxTgPvC217bzSbhZbBLt0DjxE71kVt 3wx58Dj0R7IQIGV3h3pa5iiC7WM51ZT/5gEBPSIvnTjlRMRayjUKQlcnLr/DbEM= =J7d1 -----END PGP SIGNATURE----- ------enig2LJCURHONLOKUKKTJWQBB--