Laurent Vivier e8cd4247e9 spapr/htab: fix savevm
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())
should be 1, whereas in 3a38429 it returns 0.

The problem can be reproduced with QEMU monitor command "savevm":
the command never stops and the disk image grows without limit.

Fixes: 3a38429748aa4f74abaecf16c4c087e8a325e12a
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-07-25 11:14:25 +10:00
..
2017-06-02 11:33:53 +04:00
2017-07-17 13:36:08 +01:00
2017-07-19 12:30:41 +01:00
2017-07-17 17:12:41 +01:00
2017-07-14 12:16:09 +01:00
2017-06-02 14:07:53 +01:00
2017-07-19 13:43:58 +01:00
2017-07-14 12:29:49 +02:00
2017-07-14 12:04:43 +02:00
2017-07-18 11:47:56 -04:00
2017-07-17 20:13:56 +08:00
2017-07-25 11:14:25 +10:00
2017-06-27 15:09:15 +02:00
2017-07-20 10:02:11 +02:00