From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsK8U-0007zD-HY for qemu-devel@nongnu.org; Mon, 07 Jan 2013 16:21:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsK8T-0000qh-BC for qemu-devel@nongnu.org; Mon, 07 Jan 2013 16:21:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsK8T-0000qN-29 for qemu-devel@nongnu.org; Mon, 07 Jan 2013 16:21:33 -0500 Message-ID: <50EB3C50.7010908@redhat.com> Date: Mon, 07 Jan 2013 14:21:20 -0700 From: Eric Blake MIME-Version: 1.0 References: <1356770725-4804-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1356770725-4804-9-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1356770725-4804-9-git-send-email-xiawenc@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig62DD268BA7561E70D51EEF67" Subject: Re: [Qemu-devel] [PATCH 08/11] qmp: add interface query-snapshot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: kwolf@redhat.com, aliguori@us.ibm.com, phrdina@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org, armbru@redhat.com, pbonzini@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig62DD268BA7561E70D51EEF67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/29/2012 01:45 AM, Wenchao Xia wrote: > This interface now return valid internal snapshots. >=20 > Signed-off-by: Wenchao Xia > --- > block.c | 32 ++++++++++++++++++++++++++++++++ > qapi-schema.json | 12 ++++++++++++ > 2 files changed, 44 insertions(+), 0 deletions(-) >=20 > +++ b/block.c > @@ -2892,6 +2892,38 @@ SnapshotInfoList *bdrv_query_snapshot_infolist(B= lockDriverState *bs, > return head; > } > =20 > +/* check if sn exist on all block devices, 0 means valid */ s/exist/exists/ > +++ b/qapi-schema.json > @@ -731,6 +731,18 @@ > { 'command': 'query-image', 'returns': ['ImageInfo'] } > =20 > ## > +# @query-snapshot: > +# > +# Get a list of valid Snapshots of virtual machine. Note that only val= id > +# internal snapshot will be returned now, inconsitent one will not be = returned. s/snapshot/snapshots/; s/ now//; s/inconsitent one/inconsistent ones/ > +# > +# Returns: a list of @SnapshotInfo describing virtual machine snapshot= =2E s/describing virtual machine snapshot/describing all consistent virtual machine snapshots/ > +# > +# Since: 1.4 > +## > +{ 'command': 'query-snapshot', 'returns': ['SnapshotInfo'] } > + --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig62DD268BA7561E70D51EEF67 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 undefined - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ6zxQAAoJEKeha0olJ0NqnXQIAJUJ016MILmHj2nQFXVfqz1m gAPkkbwabp8TM0EzNZkGMQJkWOE879KO8pH0RF/l38ILt9odi2CWckR0M2CNhV5l bRP27K6dyOATrKjKFSDjz7XPOOl0GQEy95eoCct7ZTQ2oiYRsUB/rkDijm1L77cf lCzXvMxAARd/Gth+f3hO7c4ZTAdr5794BP0waE3m45BgsVrxb5fhZE9Mvi//ngdv u4XtZJxV0sxpLkmXuGQJ9kFXaVDcY9ApX6Bio714O7CAImH3p4nsYwAJqPLaMYnp TTmwXnG7jA+VWKMsuJqUCPTg9l9Orjd4crS7XWgPr3d1s90O8X+8Kv7b3aE2/PQ= =GVg4 -----END PGP SIGNATURE----- --------------enig62DD268BA7561E70D51EEF67--