qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Hailiang Zhang <zhang.zhanghailiang@huawei.com>
Cc: amit.shah@redhat.com, jdenemar@redhat.com, qemu-devel@nongnu.org,
	peter.huangpeng@huawei.com, quintela@redhat.com
Subject: Re: [Qemu-devel] [PATCH] Postcopy: Fix sync count in info migrate
Date: Thu, 25 Feb 2016 10:59:37 +0000	[thread overview]
Message-ID: <20160225105936.GB2163@work-vm> (raw)
In-Reply-To: <56CEDD8F.3070605@huawei.com>

* Hailiang Zhang (zhang.zhanghailiang@huawei.com) wrote:
> On 2016/2/25 18:03, Dr. David Alan Gilbert (git) wrote:
> >From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> >I'd missed the sync count off in the postcopy case.
> >
> >Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> >---
> >  migration/migration.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> >diff --git a/migration/migration.c b/migration/migration.c
> >index fc5e50b..34d3e5f 100644
> >--- a/migration/migration.c
> >+++ b/migration/migration.c
> >@@ -626,6 +626,7 @@ MigrationInfo *qmp_query_migrate(Error **errp)
> >          info->ram->normal_bytes = norm_mig_bytes_transferred();
> >          info->ram->dirty_pages_rate = s->dirty_pages_rate;
> >          info->ram->mbps = s->mbps;
> >+        info->ram->dirty_sync_count = s->dirty_sync_count;
> >
> >          if (blk_mig_active()) {
> >              info->has_disk = true;
> >
> 
> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>

Thanks,

> I noticed that, the stats of 'POSTCOPY_ACTIVE' is almost the copy of 'ACTIVE'
> case. Maybe we can simplify it.

Yes, I keep intending to add more stats to POSTCOPY_ACTIVE, but haven't
done so yet.

Dave

> 
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

      reply	other threads:[~2016-02-25 10:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 10:03 [Qemu-devel] [PATCH] Postcopy: Fix sync count in info migrate Dr. David Alan Gilbert (git)
2016-02-25 10:55 ` Hailiang Zhang
2016-02-25 10:59   ` Dr. David Alan Gilbert [this message]

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=20160225105936.GB2163@work-vm \
    --to=dgilbert@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=jdenemar@redhat.com \
    --cc=peter.huangpeng@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=zhang.zhanghailiang@huawei.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).