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

2015-10-01 Thread Juan Quintela
"Denis V. Lunev" wrote: > Release qemu global mutex before call synchronize_rcu(). > synchronize_rcu() waiting for all readers to finish their critical > sections. There is at least one critical section in which we try > to get QGM (critical section is in address_space_rw() and > prepare_mmio_acce

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 readers

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

2015-09-29 Thread Denis V. Lunev
On 09/29/2015 08:13 AM, Amit Shah wrote: There have been multiple versions of this patch on the list, can you please annotate that this is v3 so it supersedes the earlier v2? Also, please include a changelog in the description in patch 0 so we know what happened between the various versions. Th

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

2015-09-29 Thread Denis V. Lunev
On 09/29/2015 08:13 AM, Amit Shah wrote: There have been multiple versions of this patch on the list, can you please annotate that this is v3 so it supersedes the earlier v2? Also, please include a changelog in the description in patch 0 so we know what happened between the various versions. Th

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

2015-09-29 Thread Amit Shah
There have been multiple versions of this patch on the list, can you please annotate that this is v3 so it supersedes the earlier v2? Also, please include a changelog in the description in patch 0 so we know what happened between the various versions. Thanks, On (Mon) 28 Sep 2015 [14:41:58], Den

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

2015-09-28 Thread Paolo Bonzini
On 28/09/2015 13:41, Denis V. Lunev wrote: > Release qemu global mutex before call synchronize_rcu(). > synchronize_rcu() waiting for all readers to finish their critical > sections. There is at least one critical section in which we try > to get QGM (critical section is in address_space_rw() and

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

2015-09-28 Thread Denis V. Lunev
Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all readers to finish their critical sections. There is at least one critical section in which we try to get QGM (critical section is in address_space_rw() and prepare_mmio_access() is trying to aquire QGM). Bot

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

2015-09-25 Thread Wen Congyang
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 readers to finish their critical

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

2015-09-25 Thread Denis V. Lunev
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 readers to finish their critical sections. There is at least one critical section in which we tr

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

2015-09-24 Thread Wen Congyang
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 readers to finish their critical > sections. There is at least one critical section in which we try > to get QGM (critical section is i

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

2015-09-24 Thread Denis V. Lunev
From: Igor Redko Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all readers to finish their critical sections. There is at least one critical section in which we try to get QGM (critical section is in address_space_rw() and prepare_mmio_access() is trying t