Re: [PATCH v2 2/6] migration: We only need last_stage in two places

2021-12-23 Thread Peter Xu
On Tue, Dec 21, 2021 at 01:52:31PM +0100, Juan Quintela wrote: > We only need last_stage in two places and we are passing it all > around. Just add a field to RAMState that passes it. > > Signed-off-by: Juan Quintela Reviewed-by: Peter Xu -- Peter Xu

[PATCH v2 2/6] migration: We only need last_stage in two places

2021-12-21 Thread Juan Quintela
We only need last_stage in two places and we are passing it all around. Just add a field to RAMState that passes it. Signed-off-by: Juan Quintela --- Repeat subject (philmd suggestion) --- migration/ram.c | 41 ++--- 1 file changed, 18 insertions(+), 23