summary refs log tree commit diff stats
path: root/hw/virtio-blk.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-11-03 17:34:37 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-12 11:23:55 -0600
commitcb499fb295a91a65f86eccfa95f90da60b027395 (patch)
tree27a7e06904393efa311dfa38f6d009f3a4c78d4a /hw/virtio-blk.c
parent14f26b00d11a5a4913f8a9ddbf52634b70e9694d (diff)
downloadfocaccia-qemu-cb499fb295a91a65f86eccfa95f90da60b027395.tar.gz
focaccia-qemu-cb499fb295a91a65f86eccfa95f90da60b027395.zip
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 'hw/virtio-blk.c')
0 files changed, 0 insertions, 0 deletions