Re: [PATCH v2 3/3] dump-guest-memory: Block live migration

2021-09-22 Thread Peter Xu
On Wed, Sep 22, 2021 at 07:18:15PM +0400, Marc-André Lureau wrote: > Hi Hi, Marc-André, > > On Thu, Aug 26, 2021 at 11:01 PM Peter Xu wrote: > > > Both dump-guest-memory and live migration caches vm state at the beginning. > > Either of them entering the other one will cause race on the vm sta

Re: [PATCH v2 3/3] dump-guest-memory: Block live migration

2021-09-22 Thread Marc-André Lureau
Hi On Thu, Aug 26, 2021 at 11:01 PM Peter Xu wrote: > Both dump-guest-memory and live migration caches vm state at the beginning. > Either of them entering the other one will cause race on the vm state, and > even > more severe on that (please refer to the crash report in the bug link). > > Let'

Re: [PATCH v2 3/3] dump-guest-memory: Block live migration

2021-08-27 Thread Peter Xu
On Fri, Aug 27, 2021 at 11:51:04AM +0400, Marc-André Lureau wrote: > Hi > > On Fri, Aug 27, 2021 at 11:44 AM Marc-André Lureau < > marcandre.lur...@redhat.com> wrote: > > > Hi > > > > On Thu, Aug 26, 2021 at 10:58 PM Peter Xu wrote: > > > >> Both dump-guest-memory and live migration caches vm st

Re: [PATCH v2 3/3] dump-guest-memory: Block live migration

2021-08-27 Thread Marc-André Lureau
Hi On Fri, Aug 27, 2021 at 11:44 AM Marc-André Lureau < marcandre.lur...@redhat.com> wrote: > Hi > > On Thu, Aug 26, 2021 at 10:58 PM Peter Xu wrote: > >> Both dump-guest-memory and live migration caches vm state at the >> beginning. >> Either of them entering the other one will cause race on th

Re: [PATCH v2 3/3] dump-guest-memory: Block live migration

2021-08-27 Thread Marc-André Lureau
Hi On Thu, Aug 26, 2021 at 10:58 PM Peter Xu wrote: > Both dump-guest-memory and live migration caches vm state at the beginning. > Either of them entering the other one will cause race on the vm state, and > even > more severe on that (please refer to the crash report in the bug link). > > Let'

[PATCH v2 3/3] dump-guest-memory: Block live migration

2021-08-26 Thread Peter Xu
Both dump-guest-memory and live migration caches vm state at the beginning. Either of them entering the other one will cause race on the vm state, and even more severe on that (please refer to the crash report in the bug link). Let's block live migration in dump-guest-memory, and that'll also bloc