]> git.proxmox.com Git - 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)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 19 Aug 2010 13:44:37 +0000 (08:44 -0500)
commit760e77eab53f5d92eb0c587e04fd942a905b46af
tree1247776a8d6e459b18a2e933fd2de3ab297c145c
parente447b1a603091cbaa5eed36c0a3c9ed3f2224535
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>
arch_init.c