Re: [Qemu-devel] [PATCH v4 05/32] migration: implement "postcopy-pause" src logic

2017-12-01 Thread Peter Xu
On Thu, Nov 30, 2017 at 10:49:45AM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Now when network down for postcopy, the source side will not fail the > > migration. Instead we convert the status into this new paused state, and > > we will try to wait for a rescue

Re: [Qemu-devel] [PATCH v4 05/32] migration: implement "postcopy-pause" src logic

2017-12-01 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Thu, Nov 30, 2017 at 10:49:45AM +, Dr. David Alan Gilbert wrote: > > * Peter Xu (pet...@redhat.com) wrote: > > > Now when network down for postcopy, the source side will not fail the > > > migration. Instead we convert the status into this new paused s

Re: [Qemu-devel] [PATCH v4 05/32] migration: implement "postcopy-pause" src logic

2017-11-30 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Now when network down for postcopy, the source side will not fail the > migration. Instead we convert the status into this new paused state, and > we will try to wait for a rescue in the future. > > If a recovery is detected, migration_thread() will reset it

[Qemu-devel] [PATCH v4 05/32] migration: implement "postcopy-pause" src logic

2017-11-07 Thread Peter Xu
Now when network down for postcopy, the source side will not fail the migration. Instead we convert the status into this new paused state, and we will try to wait for a rescue in the future. If a recovery is detected, migration_thread() will reset its local variables to prepare for that. Reviewed