[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] qapi: Add SnapshotInfo.
From: |
Benoît Canet |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] qapi: Add SnapshotInfo. |
Date: |
Wed, 15 Aug 2012 20:18:38 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Le Wednesday 15 Aug 2012 à 14:58:45 (-0300), Luiz Capitulino a écrit :
> On Wed, 15 Aug 2012 16:54:24 +0200
> "Benoît Canet" <address@hidden> wrote:
>
> > Signed-off-by: Benoit Canet <address@hidden>
> > ---
> > qapi-schema.json | 24 ++++++++++++++++++++++++
> > 1 file changed, 24 insertions(+)
> >
> > 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' ] }
> >
> > ##
> > +# @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 (hopefully
> not so distant) future query-snapshots command?
These are the field of the struture in block.h.
yet I don't know if it answer correctly to the question :)
>
> > +
> > +##
> > # @StatusInfo:
> > #
> > # Information about VCPU run state
>
>