diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-03 17:34:37 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-12 11:23:55 -0600 |
commit | cb499fb295a91a65f86eccfa95f90da60b027395 (patch) | |
tree | 27a7e06904393efa311dfa38f6d009f3a4c78d4a /block.c | |
parent | 14f26b00d11a5a4913f8a9ddbf52634b70e9694d (diff) |
savevm: Delete existing snapshots in all images
When creating a snapshot we can run into the situation that the first disk
doesn't have a snapshot, but the second one does have one with the same name as
the new snapshot.
In this case, qemu doesn't recognize that there is a snapshot to be
overwritten, so it starts to save the new snapshot and errors out later when it
tries to snapshot the second image. With this patch, snapshots on secondary
images are overwritten just like on the first image.
Reported-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions