Re: [PATCH v2 1/5] migration: Fix possible infinite loop of ram save process

2022-11-14 Thread Juan Quintela
Peter Xu wrote: > When starting ram saving procedure (especially at the completion phase), > always set last_seen_block to non-NULL to make sure we can always correctly > detect the case where "we've migrated all the dirty pages". > > Then we'll guarantee both last_seen_block and pss.block will be

[PATCH v2 1/5] migration: Fix possible infinite loop of ram save process

2022-10-04 Thread Peter Xu
When starting ram saving procedure (especially at the completion phase), always set last_seen_block to non-NULL to make sure we can always correctly detect the case where "we've migrated all the dirty pages". Then we'll guarantee both last_seen_block and pss.block will be valid always before the l