Re: [PATCH] migration: Optimization about wait-unplug migration state

2020-02-09 Thread zhukeqian
On 2020/2/4 17:14, Juan Quintela wrote: > Keqian Zhu wrote: >> qemu_savevm_nr_failover_devices() is originally designed to >> get the number of failover devices, but it actually returns >> the number of "unplug-pending" failover devices now. Moreover, >> what drives migration state to wait-unpl

Re: [PATCH] migration: Optimization about wait-unplug migration state

2020-02-09 Thread zhukeqian
On 2020/2/5 22:40, Jens Freimann wrote: > On Tue, Feb 04, 2020 at 01:08:41PM +0800, Keqian Zhu wrote: >> qemu_savevm_nr_failover_devices() is originally designed to >> get the number of failover devices, but it actually returns >> the number of "unplug-pending" failover devices now. Moreover, >>

Re: [PATCH] migration: Optimization about wait-unplug migration state

2020-02-05 Thread Jens Freimann
On Tue, Feb 04, 2020 at 01:08:41PM +0800, Keqian Zhu wrote: qemu_savevm_nr_failover_devices() is originally designed to get the number of failover devices, but it actually returns the number of "unplug-pending" failover devices now. Moreover, what drives migration state to wait-unplug should be t

Re: [PATCH] migration: Optimization about wait-unplug migration state

2020-02-04 Thread Juan Quintela
Keqian Zhu wrote: > qemu_savevm_nr_failover_devices() is originally designed to > get the number of failover devices, but it actually returns > the number of "unplug-pending" failover devices now. Moreover, > what drives migration state to wait-unplug should be the number > of "unplug-pending" fai

[PATCH] migration: Optimization about wait-unplug migration state

2020-02-03 Thread Keqian Zhu
qemu_savevm_nr_failover_devices() is originally designed to get the number of failover devices, but it actually returns the number of "unplug-pending" failover devices now. Moreover, what drives migration state to wait-unplug should be the number of "unplug-pending" failover devices, not all failov