]> git.ipfire.org Git - thirdparty/qemu.git/commit
savevm: Reset last block info at beginning of each save
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 19 Aug 2010 13:18:42 +0000 (10:18 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 11 Oct 2010 22:52:37 +0000 (19:52 -0300)
commitc082082c7669aa9fba4034484f56583dc2e0eaae
treed3f4057be2f4f595b1fba9761198c30191a92cda
parentc4127fbf17744374b147b779a333e7bf444839a7
savevm: Reset last block info at beginning of each save

If we save more than once we need to reset the last block info or else
only the first save has the actual block info and each subsequent save
will only use continue flags, making them unloadable independently.

Found-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 760e77eab53f5d92eb0c587e04fd942a905b46af)
arch_init.c