Re: [Qemu-devel] [PATCH] spapr/htab: fix savevm

2017-07-18 Thread Laurent Vivier
On 18/07/2017 11:33, Thomas Huth wrote: > On 18.07.2017 10:05, Laurent Vivier wrote: >> Commit 3a38429 ("spapr: Add a "no HPT" encoding to HTAB migration stream") >> allows to migrate an empty HPT, but doesn't mark correctly the >> end of the migration stream. >> >> The end condition (value returne

Re: [Qemu-devel] [PATCH] spapr/htab: fix savevm

2017-07-18 Thread Thomas Huth
On 18.07.2017 10:05, Laurent Vivier wrote: > Commit 3a38429 ("spapr: Add a "no HPT" encoding to HTAB migration stream") > allows to migrate an empty HPT, but doesn't mark correctly the > end of the migration stream. > > The end condition (value returned by htab_save_iterate() and > htab_save_comp

[Qemu-devel] [PATCH] spapr/htab: fix savevm

2017-07-18 Thread Laurent Vivier
Commit 3a38429 ("spapr: Add a "no HPT" encoding to HTAB migration stream") allows to migrate an empty HPT, but doesn't mark correctly the end of the migration stream. The end condition (value returned by htab_save_iterate() and htab_save_complete()) should be 1, whereas in 3a38429 they return 0.