From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1hrU-0007iK-DZ for qemu-devel@nongnu.org; Wed, 15 Aug 2012 13:58:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1hrS-0002iN-Jg for qemu-devel@nongnu.org; Wed, 15 Aug 2012 13:58:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1hrS-0002i1-BK for qemu-devel@nongnu.org; Wed, 15 Aug 2012 13:58:30 -0400 Date: Wed, 15 Aug 2012 14:58:45 -0300 From: Luiz Capitulino Message-ID: <20120815145845.2ae648b4@doriath.home> In-Reply-To: <1345042466-31743-2-git-send-email-benoit@irqsave.net> References: <1345042466-31743-1-git-send-email-benoit@irqsave.net> <1345042466-31743-2-git-send-email-benoit@irqsave.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/3] qapi: Add SnapshotInfo. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?B?QmVub+50?= Canet Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, qemu-devel@nongnu.org, pbonzini@redhat.com, eblake@redhat.com, xiawenc@linux.vnet.ibm.com, =?ISO-8859-1?B?QmVub+50?= Canet On Wed, 15 Aug 2012 16:54:24 +0200 "Beno=EEt Canet" wrote: > Signed-off-by: Benoit Canet > --- > qapi-schema.json | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) >=20 > diff --git a/qapi-schema.json b/qapi-schema.json > index a92adb1..8d4df19 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -126,6 +126,30 @@ > 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog' ] } > =20 > ## > +# @SnapshotInfo > +# > +# @id: unique snapshot id > +# > +# @name: user choosen name > +# > +# @vm-state-size: size of the VM state > +# > +# @date-sec: UTC date of the snapshot > +# > +# @date-nsec: date in nano seconds > +# > +# @vm-clock-sec: VM clock relative to boot > +# > +# Since: 1.3 > +# > +## > + > +{ 'type': 'SnapshotInfo', > + 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', > + 'date-sec': 'int', 'date-nsec': 'int', > + 'vm-clock-sec': 'int' } } Can I assume that this matches with what should be returned by the (hopeful= ly not so distant) future query-snapshots command? > + > +## > # @StatusInfo: > # > # Information about VCPU run state