qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: zhanghailiang <zhang.zhanghailiang@huawei.com>
To: quintela@redhat.com
Cc: amit.shah@redhat.com, peter.huangpeng@huawei.com,
	dgilbert@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] migration: Add state records for migration incoming
Date: Tue, 24 Nov 2015 11:05:51 +0800	[thread overview]
Message-ID: <5653D40F.1090406@huawei.com> (raw)
In-Reply-To: <87k2pfpol4.fsf@emacs.mitica>

On 2015/11/18 18:51, Juan Quintela wrote:
> zhanghailiang <zhang.zhanghailiang@huawei.com> wrote:
>> For migration destination, sometimes we need to know its state,
>> and it is also useful for tracing migration incoming process.
>>
>> Here we add a new member 'state' for MigrationIncomingState,
>> and also use migrate_set_state() to modify its value.
>> We fix the first parameter of migrate_set_state(), and make it
>> public.
>>
>> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>
Hi Juan,

Thanks for your reply.

> 1st: split the patch about the change in migrate_set_state prototype,
> and the rest.
>

OK, i will do it in next version.

> Once there, if we are going to do this, at least show it on info migrate
> on destination?
>

I don't know if there is any sense to export migration info in destination.
In actual application, we use libvirt to issue migration command and get
migration info in source side. So it seems unnecessary to export them.

For COLO, we only use the state internally, to indicate whether we are in COLO state.

Thanks,
zhanghailiang

> If we are going this way, I think it is going to be better to reuse
> MigrationState?  That way, we could make the info migrate statistics
> easier to understand?
>
> Thanks, Juan.
>
> .
>

      reply	other threads:[~2015-11-24  3:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22  8:49 [Qemu-devel] [PATCH] migration: Add state records for migration incoming zhanghailiang
2015-11-18 10:51 ` Juan Quintela
2015-11-24  3:05   ` zhanghailiang [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=5653D40F.1090406@huawei.com \
    --to=zhang.zhanghailiang@huawei.com \
    --cc=amit.shah@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=peter.huangpeng@huawei.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).