qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] migration: Add state records for migration inco


From: zhanghailiang
Subject: Re: [Qemu-devel] [PATCH] migration: Add state records for migration incoming
Date: Tue, 24 Nov 2015 11:05:51 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 2015/11/18 18:51, Juan Quintela wrote:
zhanghailiang <address@hidden> 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 <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>

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 via email to

[Prev in Thread] Current Thread [Next in Thread]