Re: [Qemu-devel] [PATCH 1/1] migration: fix expected_downtime

2015-10-01 Thread Igor Redko
On 28.09.2015 22:22, Dr. David Alan Gilbert wrote: * Denis V. Lunev (d...@openvz.org) wrote: From: Igor Redko To get this estimation we must divide pending_size by bandwidth according to description of expected-downtime ("qmp-commands.hx:3246"): "expected-downtime"

Re: [Qemu-devel] [PATCH 1/1] migration: fix expected_downtime

2015-10-01 Thread Igor Redko
On 28.09.2015 22:22, Dr. David Alan Gilbert wrote: * Denis V. Lunev (d...@openvz.org) wrote: From: Igor Redko To get this estimation we must divide pending_size by bandwidth according to description of expected-downtime ("qmp-commands.hx:3246"): "expected-downtime"

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-10-01 Thread Igor Redko
On 29.09.2015 11:47, Dr. David Alan Gilbert wrote: * Igor Redko (red...@virtuozzo.com) wrote: On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: On 09/25/2015 05:09 PM, Denis V. Lunev wrote: Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all readers

Re: [Qemu-devel] [PATCH 1/1] migration: fix deadlock

2015-09-30 Thread Igor Redko
On 25.09.2015 11:23, Wen Congyang wrote: On 09/25/2015 04:03 PM, Denis V. Lunev wrote: On 09/25/2015 04:21 AM, Wen Congyang wrote: On 09/24/2015 08:53 PM, Denis V. Lunev wrote: From: Igor Redko Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-28 Thread Igor Redko
On Пн., 2015-09-28 at 13:55 +0300, Igor Redko wrote: > On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: > > On 09/25/2015 05:09 PM, Denis V. Lunev wrote: > > > Release qemu global mutex before call synchronize_rcu(). > > > synchronize_rcu() waiting for all reade

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-28 Thread Igor Redko
/qemu/kvm-all.c:1680 #7 0x7f1ef3898144 in kvm_cpu_exec (cpu=0x7f1ef5010fc0) at /home/user/my_qemu/qemu/kvm-all.c:1849 #8 0x7f1ef387fa91 in qemu_kvm_cpu_thread_fn (arg=0x7f1ef5010fc0) at /home/user/my_qemu/qemu/cpus.c:979 #9 0x7f1ef113a6aa in start_thread (arg=0x7f1eef0b9700) at pth