Re: [PATCH v2 12/15] migration: Move last_sent_block into PageSearchStatus

2022-11-14 Thread Juan Quintela
Peter Xu wrote: > Since we use PageSearchStatus to represent a channel, it makes perfect > sense to keep last_sent_block (aka, leverage RAM_SAVE_FLAG_CONTINUE) to be > per-channel rather than global because each channel can be sending > different pages on ramblocks. > > Hence move it from RAMState

[PATCH v2 12/15] migration: Move last_sent_block into PageSearchStatus

2022-10-11 Thread Peter Xu
Since we use PageSearchStatus to represent a channel, it makes perfect sense to keep last_sent_block (aka, leverage RAM_SAVE_FLAG_CONTINUE) to be per-channel rather than global because each channel can be sending different pages on ramblocks. Hence move it from RAMState into PageSearchStatus. Rev