Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-04-05 Thread 858585 jemmy
On Wed, Mar 29, 2017 at 9:21 PM, 858585 jemmy wrote: > On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote: >> Lidong Chen wrote: >>> when migration with quick speed, mig_save_device_bulk invoke >>> bdrv_is_allocated too frequently, and cause vnc reponse slowly. >>> this patch limit the time us

Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-04-04 Thread 858585 jemmy
On Wed, Mar 29, 2017 at 11:57 PM, Juan Quintela wrote: > > 858585 jemmy wrote: > > On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote: > >> Lidong Chen wrote: > >>> when migration with quick speed, mig_save_device_bulk invoke > >>> bdrv_is_allocated too frequently, and cause vnc reponse slowl

Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-03-29 Thread Juan Quintela
858585 jemmy wrote: > On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote: >> Lidong Chen wrote: >>> when migration with quick speed, mig_save_device_bulk invoke >>> bdrv_is_allocated too frequently, and cause vnc reponse slowly. >>> this patch limit the time used for bdrv_is_allocated. >>> >>>

Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-03-29 Thread 858585 jemmy
On Tue, Mar 28, 2017 at 5:47 PM, Juan Quintela wrote: > Lidong Chen wrote: >> when migration with quick speed, mig_save_device_bulk invoke >> bdrv_is_allocated too frequently, and cause vnc reponse slowly. >> this patch limit the time used for bdrv_is_allocated. >> >> Signed-off-by: Lidong Chen

Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-03-28 Thread Juan Quintela
Lidong Chen wrote: > when migration with quick speed, mig_save_device_bulk invoke > bdrv_is_allocated too frequently, and cause vnc reponse slowly. > this patch limit the time used for bdrv_is_allocated. > > Signed-off-by: Lidong Chen > --- > migration/block.c | 39 ++

Re: [Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-03-28 Thread 858585 jemmy
when migrate the vm with quick speed, i find vnc response slowly. the bug can be reproduce by this command: virsh migrate-setspeed 165cf436-312f-47e7-90f2-f8aa63f34893 900 virsh migrate --live 165cf436-312f-47e7-90f2-f8aa63f34893 --copy-storage-inc qemu+ssh://10.59.163.38/system and --copy-storag

[Qemu-devel] [RFC] migration/block:limit the time used for block migration

2017-03-28 Thread Lidong Chen
when migration with quick speed, mig_save_device_bulk invoke bdrv_is_allocated too frequently, and cause vnc reponse slowly. this patch limit the time used for bdrv_is_allocated. Signed-off-by: Lidong Chen --- migration/block.c | 39 +++ 1 file changed, 31 ins