From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com,
aarcange@redhat.com, den@openvz.org, marcel.a@redhat.com
Subject: Re: [Qemu-devel] [PATCH 2/4] Postcopy: Add stats on page requests
Date: Fri, 29 Apr 2016 12:42:06 +0100 [thread overview]
Message-ID: <20160429114205.GM2573@work-vm> (raw)
In-Reply-To: <57211072.6060203@redhat.com>
* Eric Blake (eblake@redhat.com) wrote:
> On 04/27/2016 01:08 PM, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > On the source, add a count of page requests received from the
> > destination.
> >
> > Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> > ---
> > hmp.c | 4 +++
> > include/migration/migration.h | 2 ++
> > migration/migration.c | 59 ++++++++++++++++++-------------------------
> > migration/ram.c | 1 +
> > qapi-schema.json | 6 ++++-
> > 5 files changed, 36 insertions(+), 36 deletions(-)
> >
>
> > +++ b/migration/migration.c
> > @@ -561,6 +561,26 @@ static void get_xbzrle_cache_stats(MigrationInfo *info)
> > }
> > }
> >
> > +static void populate_ram_info(MigrationInfo *info, MigrationState *s)
> > +{
> > + info->has_ram = true;
> > + info->ram = g_malloc0(sizeof(*info->ram));
>
> > @@ -585,18 +605,7 @@ MigrationInfo *qmp_query_migrate(Error **errp)
> > info->has_setup_time = true;
> > info->setup_time = s->setup_time;
> >
> > - info->has_ram = true;
> > - info->ram = g_malloc0(sizeof(*info->ram));
>
> If you respin, please split the refactoring into one patch, and the
> addition of postcopy stats in another, so that the addition is not lost
> in the noise.
Done.
> Otherwise looks fine.
Thanks.
Dave
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-04-29 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 19:08 [Qemu-devel] [PATCH 0/4] postcopy (& 1 test) patch for 2.7 Dr. David Alan Gilbert (git)
2016-04-27 19:08 ` [Qemu-devel] [PATCH 1/4] Postcopy: Avoid 0 length discards Dr. David Alan Gilbert (git)
2016-04-27 19:08 ` [Qemu-devel] [PATCH 2/4] Postcopy: Add stats on page requests Dr. David Alan Gilbert (git)
2016-04-27 19:18 ` Eric Blake
2016-04-29 11:42 ` Dr. David Alan Gilbert [this message]
2016-04-27 19:08 ` [Qemu-devel] [PATCH 3/4] test: Postcopy Dr. David Alan Gilbert (git)
2016-04-27 19:08 ` [Qemu-devel] [PATCH 4/4] tests: fix libqtest socket timeouts Dr. David Alan Gilbert (git)
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=20160429114205.GM2573@work-vm \
--to=dgilbert@redhat.com \
--cc=aarcange@redhat.com \
--cc=amit.shah@redhat.com \
--cc=den@openvz.org \
--cc=eblake@redhat.com \
--cc=marcel.a@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.