From: Luiz Capitulino <lcapitulino@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, Juan Quintela <quintela@redhat.com>
Subject: Re: [Qemu-devel] For 1.2: Re: [PATCH 3/8] migration: move total_time from ram stats to migration info
Date: Tue, 21 Aug 2012 11:42:48 -0300 [thread overview]
Message-ID: <20120821114248.1f3f4cc7@doriath.home> (raw)
In-Reply-To: <502F927A.8060709@redhat.com>
On Sat, 18 Aug 2012 07:02:50 -0600
Eric Blake <eblake@redhat.com> wrote:
> On 08/18/2012 05:17 AM, Juan Quintela wrote:
> > Signed-off-by: Juan Quintela <quintela@redhat.com>
> > ---
> > hmp.c | 4 ++--
> > migration.c | 6 +++---
> > qapi-schema.json | 14 +++++++-------
> > qmp-commands.hx | 6 +++---
> > 4 files changed, 15 insertions(+), 15 deletions(-)
> >
>
> > +++ b/qapi-schema.json
> > @@ -290,10 +290,6 @@
> > #
> > # @total: total amount of bytes involved in the migration process
> > #
> > -# @total-time: total amount of ms since migration started. If
> > -# migration has ended, it returns the total migration
> > -# time. (since 1.2)
> > -#
> > # @duplicate: number of duplicate pages (since 1.2)
> > #
> > # @normal : number of normal pages (since 1.2)
> > @@ -304,8 +300,7 @@
> > ##
> > { 'type': 'MigrationStats',
> > 'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' ,
> > - 'total-time': 'int', 'duplicate': 'int', 'normal': 'int',
> > - 'normal-bytes': 'int' } }
> > + 'duplicate': 'int', 'normal': 'int', 'normal-bytes': 'int' } }
> >
> > ##
> > # @XBZRLECacheStats
> > @@ -350,12 +345,17 @@
> > # migration statistics, only returned if XBZRLE feature is on and
> > # status is 'active' or 'completed' (since 1.2)
> > #
> > +# @total-time: total amount of milliseconds since migration started.
> > +# If migration has ended, it returns the total migration
> > +# time. (since 1.2)
Field is optional, needs to be marked as such and the has_total_time field
should be set appropriately.
> > +#
> > # Since: 0.14.0
> > ##
> > { 'type': 'MigrationInfo',
> > 'data': {'*status': 'str', '*ram': 'MigrationStats',
> > '*disk': 'MigrationStats',
> > - '*xbzrle-cache': 'XBZRLECacheStats'} }
> > + '*xbzrle-cache': 'XBZRLECacheStats',
> > + 'total-time': 'int'} }
>
> Anthony - are you planning on taking this series for 1.2? If we don't
> get this patch in on time, then taking this for 1.3 would result in
> changing released QMP interface (right now, there has been no release
> with the field in the wrong type).
I can cherry-pick this into the qmp branch.
Juan, I can also fix myself the problem I pointed out above if that
works for you.
next prev parent reply other threads:[~2012-08-21 14:42 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-18 11:17 [Qemu-devel] [PATCH v2 0/8] Migration stats Juan Quintela
2012-08-18 11:17 ` [Qemu-devel] [PATCH 1/8] buffered_file: g_realloc() can't fail Juan Quintela
2012-08-21 10:40 ` Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 2/8] fix migration sync Juan Quintela
2012-08-21 10:52 ` Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 3/8] migration: move total_time from ram stats to migration info Juan Quintela
2012-08-18 13:02 ` [Qemu-devel] For 1.2: " Eric Blake
2012-08-21 14:42 ` Luiz Capitulino [this message]
2012-08-21 15:00 ` Juan Quintela
2012-08-21 18:24 ` Luiz Capitulino
2012-08-22 13:22 ` Anthony Liguori
2012-08-22 14:48 ` Eric Blake
2012-08-21 10:53 ` [Qemu-devel] " Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 4/8] migration: store end_time in a local variable Juan Quintela
2012-08-18 11:17 ` [Qemu-devel] [PATCH 5/8] migration: print total downtime for final phase of migration Juan Quintela
2012-08-18 13:04 ` Eric Blake
2012-08-21 10:57 ` Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 6/8] migration: rename expected_time to expected_downtime Juan Quintela
2012-08-21 10:57 ` Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 7/8] migration: export migrate_get_current() Juan Quintela
2012-08-21 10:58 ` Orit Wasserman
2012-08-18 11:17 ` [Qemu-devel] [PATCH 8/8] migration: print expected downtime in info migrate Juan Quintela
2012-08-18 13:05 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120821114248.1f3f4cc7@doriath.home \
--to=lcapitulino@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).