Re: [Qemu-devel] [PATCH v4 30/32] migration: delay the postcopy-active state switch

2017-12-03 Thread Peter Xu
On Fri, Dec 01, 2017 at 12:34:32PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Switch the state until we try to start the VM on destination side. The > > problem is that without doing this we may have a very small window that > > we'll be in such a state: > >

Re: [Qemu-devel] [PATCH v4 30/32] migration: delay the postcopy-active state switch

2017-12-01 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Switch the state until we try to start the VM on destination side. The > problem is that without doing this we may have a very small window that > we'll be in such a state: > > - dst VM is in postcopy-active state, > - main thread is handling MIG_CMD_PACKAG

[Qemu-devel] [PATCH v4 30/32] migration: delay the postcopy-active state switch

2017-11-07 Thread Peter Xu
Switch the state until we try to start the VM on destination side. The problem is that without doing this we may have a very small window that we'll be in such a state: - dst VM is in postcopy-active state, - main thread is handling MIG_CMD_PACKAGED message, which loads all the device states, -