From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH1kX-0003nE-R3 for qemu-devel@nongnu.org; Wed, 26 Sep 2012 20:14:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TH1kW-0000L8-Ns for qemu-devel@nongnu.org; Wed, 26 Sep 2012 20:14:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH1kW-0000L2-Ek for qemu-devel@nongnu.org; Wed, 26 Sep 2012 20:14:40 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8R0Edde027609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Sep 2012 20:14:39 -0400 Message-ID: <50639A6D.9060608@redhat.com> Date: Wed, 26 Sep 2012 18:14:37 -0600 From: Eric Blake MIME-Version: 1.0 References: <1348675011-8794-1-git-send-email-pbonzini@redhat.com> <1348675011-8794-28-git-send-email-pbonzini@redhat.com> In-Reply-To: <1348675011-8794-28-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB6528DC87B292C2EB0BED167" Subject: Re: [Qemu-devel] [PATCH v2 27/45] qmp: add drive-mirror command 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) --------------enigB6528DC87B292C2EB0BED167 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/26/2012 09:56 AM, Paolo Bonzini wrote: > This adds the monitor commands that start the mirroring job. >=20 > Signed-off-by: Paolo Bonzini > --- > blockdev.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++= +++++++- > hmp-commands.hx | 21 ++++++++++ > hmp.c | 28 +++++++++++++ > hmp.h | 1 + > qapi-schema.json | 33 +++++++++++++++ > qmp-commands.hx | 42 +++++++++++++++++++ > 6 file modificati, 249 inserzioni(+). 1 rimozione(-) >=20 > +# @drive-mirror > +# > +# Start mirroring a block device's writes to a new destination. > +# > +# @device: the name of the device whose writes should be mirrored. > +# > +# @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 n= ew > +# destination. If it does not exist, a new file will be crea= ted. > +# > +# @format: #optional the format of the new destination, default is to > +# probe is @mode is 'existing', else the format of the source= s/probe is/probe if/ > +- "device": device name to operate on (json-string) > +- "target": name of new image file (json-string) > +- "format": format of new image (json-string, optional) > +- "mode": how an image file should be created into the target > + file/device (NewImageMode, optional, default 'absolute-paths') > +- "speed": maximum speed of the streaming job, in bytes per second > + (json-int) mention that speed is optional. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigB6528DC87B292C2EB0BED167 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/ iQEcBAEBCAAGBQJQY5puAAoJEKeha0olJ0NquOQH/RKmQ/Vy+xHsT5jxl9KHz+jL Msl3KGYX4HeUpamOURr+BgC4EnPUoxTHPzv+ncO2tNnc+a997sSL7h/YwCOceeso rvZ926sgQz8W1onE/oQoDzX15FMQgbe/PBIEsbMGwM4KAAUp1WLb8uhhW+Xu/wz1 YKlzrKHsNV/bUT6gHlU3dB3x7lVXOhW8lXzEPwTs1lCiQBkDbRBE249LCp3VgA2D KqtAvuZyd/dl9ob0Rxnhgm6L+JCyKzOpmLjFCPg6pIc5jhIBR6o1HLdc3srtPbtC QeYIwYNP+jApFBMC4AqYuweLa+egHe+Zy8pCseG2s1UCsPfr+8KoIJ3znSNykmQ= =Hgfs -----END PGP SIGNATURE----- --------------enigB6528DC87B292C2EB0BED167--