diff options
author | Laurent Vivier <lvivier@redhat.com> | 2017-07-18 12:16:32 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-07-25 11:14:25 +1000 |
commit | e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d (patch) | |
tree | 6ecf1aea2fe690d3f6b11a25840b5cca144092cc /disas | |
parent | 18f2330ef548be5f67342c01817f096c34ab90af (diff) | |
download | qemu-e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d.zip qemu-e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d.tar.gz qemu-e8cd4247e96bb2158ef0ae0ff20e72746b9dd32d.tar.bz2 |
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>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions