From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMltp-0001DK-RD for qemu-devel@nongnu.org; Fri, 12 Oct 2012 16:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMlto-0005gN-Fv for qemu-devel@nongnu.org; Fri, 12 Oct 2012 16:32:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMlto-0005gG-7q for qemu-devel@nongnu.org; Fri, 12 Oct 2012 16:32:00 -0400 Message-ID: <50787E36.2090308@redhat.com> Date: Fri, 12 Oct 2012 14:31:50 -0600 From: Eric Blake MIME-Version: 1.0 References: <1350050969-14034-1-git-send-email-stefanha@redhat.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF620AF8A6559DEF8F2BA9494" Subject: Re: [Qemu-devel] [PATCH] qemu-img: Add --backing-chain option to info command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kashyap Chamarthy Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi , =?ISO-8859-1?Q?Beno=EEt_Canet?= This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF620AF8A6559DEF8F2BA9494 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/12/2012 02:19 PM, Kashyap Chamarthy wrote: >=20 > From eb4c4bc92c035c42c23c30c5e7ee73b54f9cf3a8 Mon Sep 17 00:00:00 2001 > From: Kashyap Chamarthy > Date: Sat, 13 Oct 2012 01:30:37 +0530 > Subject: [PATCH] Add documentation for 'qemu-img info --backing-chain' >=20 > Signed-off-by: Kashyap Chamarthy > --- > qemu-img.texi | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) We also need a patch to qemu-img-cmds.hx. > @@ -129,7 +133,7 @@ created as a copy on write image of the specified b= ase image; the > @var{backing_file} should have the same content as the input's base im= age, > however the path, image format, etc may differ. > =20 > -@item info [-f @var{fmt}] [--output=3D@var{ofmt}] @var{filename} > +@item info [-f @var{fmt}] [--output=3D@var{ofamt}] [--backing-chain] @= var{filename} Introduced a spurious typo: s/ofamt/ofmt/ > =20 > Give information about the disk image @var{filename}. Use it in > particular to know the size reserved on disk which can be different > @@ -137,6 +141,19 @@ from the displayed size. If VM snapshots are store= d in the disk image, > they are displayed too. The command can output in the format @var{ofmt= } > which is either @code{human} or @code{json}. > =20 > +If a disk image has a backing file chain, information about each disk = image in > +the chain can be recursively enumerated by using the option @code{--ba= cking-chain}=20 Trailing whitespace. Needs a '.' to end the sentence. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigF620AF8A6559DEF8F2BA9494 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/ iQEcBAEBCAAGBQJQeH44AAoJEKeha0olJ0NqEiYH/inmR/rnFHk2aGQ61gLaFV7m py8Nx3dZmdMFQolgO8A5SpGIWr31l+IgWZVH4J06gO7uNifNSPGa6FnZ7YfT0ZZB w0e8F36mRD9dEoiLc37HFF6uxyagoF6AcHbij2BwL9p4yAEvnCJ32CInzTMDgILS 5XtEU1By07ZusxbBSIe6zUI3nUpJB0LiJ21MVodLg4vXVLu7HAxNeneMXKPWqI4e Vw6fMeMi4Us+pYylib+8vrLWPvLo4Yhq+ivst8wAaH+SsiDRCcp/AA3a0CjZKj/7 Yhp1kUdfXuOAF0fn6FLx0YxwYKUnNJbxW3hlNl/4N1Yumj8YBsVVxl/vagq3cYg= =9dq+ -----END PGP SIGNATURE----- --------------enigF620AF8A6559DEF8F2BA9494--