Received: from eggs.gnu.org ([208.118.235.92]:45556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpNjy-0001YS-JD for qemu-devel@nongnu.org; Thu, 12 Jul 2012 14:03:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpNjx-0002vD-7b for qemu-devel@nongnu.org; Thu, 12 Jul 2012 14:03:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpNjw-0002v8-UU for qemu-devel@nongnu.org; Thu, 12 Jul 2012 14:03:49 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6CI3mg6021283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 12 Jul 2012 14:03:48 -0400 Message-ID: <4FFF1183.30500@redhat.com> Date: Thu, 12 Jul 2012 12:03:47 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig31A3904A855F11BF340568C8" Subject: Re: [Qemu-devel] [RFC PATCH 4/4] qapi: Convert info snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Hrdina Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig31A3904A855F11BF340568C8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/12/2012 10:55 AM, Pavel Hrdina wrote: > Signed-off-by: Pavel Hrdina > --- > +++ b/qapi-schema.json > @@ -934,6 +934,41 @@ > { 'command': 'query-block-jobs', 'returns': ['BlockJobInfo'] } > =20 > ## > +# @SnapshotInfo: > +# > +# Snapshot list. This structure contains list of snapshots for virtua= l machine. > +# > +# @id: id of the snapshot. > +# > +# @tag: human readable tag of the snapshot. Tag was optional on creation, should that field be marked optional and omitted on output when there was no tag on input? > +# > +# @vm_size: size of the snapshot in Bytes. > +# > +# @date: date and time of the snapshot as timestamp. What type of timestamp? Seconds since Epoch? > +# > +# @vm_clock: time in the guest in nsecs. If vm_clock is in nsecs, should we also be reporting sub-second resolution in date? > +SQMP > +query-snapshots > +---------- > + > +List available snapshots for VM. > + > +Return a json-object with the following information: Returns an array of json-objects, each with the following information: --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig31A3904A855F11BF340568C8 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://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP/xGDAAoJEKeha0olJ0NqBEYH/iaa7PTLDYJs23u5YFgbb5UD DRVTh0ZojO3xRslue9TAw96zokEntsSFiOhbwk9K0urw682dxUNBtWNxutMEAYqE t2ABM+FVkEiTKdUB8bsBEij0n4hjwIPnq3nYMxGCPruxV5HJboceNNVM2+z74+c5 8d6CLtuAgdi0CFpoj3nj0kfkUEVnRHuerWYvaIvB5dCHggIkgxRk83LKnRw47iTa q51Vb3tBQOn+L3QGi7oQW1pd5AAqCi017ZmrgTrR+qSRgX8KJrcPLdOoR2/tFjsb a1kYrrS6UvaDOyKxcTCYvjMlK+ADmR30Jhw+lglmtGE3hyxPnz9mUTCby9vuO0c= =9r+L -----END PGP SIGNATURE----- --------------enig31A3904A855F11BF340568C8--