From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPC89-0008Vb-7y for qemu-devel@nongnu.org; Mon, 08 Apr 2013 09:29:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPC83-0002iz-9T for qemu-devel@nongnu.org; Mon, 08 Apr 2013 09:29:05 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:42559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPC83-0002in-2p for qemu-devel@nongnu.org; Mon, 08 Apr 2013 09:28:59 -0400 Received: by mail-we0-f182.google.com with SMTP id k14so4564522wer.13 for ; Mon, 08 Apr 2013 06:28:58 -0700 (PDT) Date: Mon, 8 Apr 2013 15:28:54 +0200 From: Stefan Hajnoczi Message-ID: <20130408132854.GA4429@stefanha-thinkpad.redhat.com> References: <1364903250-10429-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1364903250-10429-10-git-send-email-xiawenc@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364903250-10429-10-git-send-email-xiawenc@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH V11 09/17] qmp: add interface query-snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: kwolf@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, pbonzini@redhat.com On Tue, Apr 02, 2013 at 07:47:22PM +0800, Wenchao Xia wrote: > diff --git a/qmp-commands.hx b/qmp-commands.hx > index 1e0e11e..6b20684 100644 > --- a/qmp-commands.hx > +++ b/qmp-commands.hx > @@ -1765,6 +1765,61 @@ EQMP > }, > > SQMP > +query-snapshots > +--------------- > + > +Show the internal consistent snapshot information > + > +Each snapshot is represented by a json-object. The returned value > +is a json-array of all snapshots I think the "consistent snapshot" term is not defined. Please add something like: "Consistent snapshots are snapshots that exist in all writeable block devices. When 'savevm' takes a snapshot it uses the same ID across all writeable block devices. If a snapshot ID only exists in one block device then it is not a consistent snapshot." Stefan