Bug 676750 - internal snapshot lost when start guest with snapshot=on
Summary: internal snapshot lost when start guest with snapshot=on
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: Rhel6KvmTier1
TreeView+ depends on / blocked
 
Reported: 2011-02-11 02:51 UTC by Shirley Zhou
Modified: 2015-03-05 00:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-31 13:21:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Shirley Zhou 2011-02-11 02:51:26 UTC
Description of problem:
Start guest with snapshot=on mode, find previous internal snapshot disappear when check using "(qemu) info snapshot".

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.144.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.start guest, and save internal snapshot
(qemu) savevm test
(qemu) info snapshots 
Snapshot devices: drive-ide0-0-0
Snapshot list (from drive-ide0-0-0):
ID        TAG                 VM SIZE                DATE       VM CLOCK
1         test                    10M 2011-02-11 10:49:36   00:00:08.719

2.shutdown guest, and start with snapshot=on mode
-drive file=/dev/vgtest/lvtest,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,snapshot=on

3. check snapshot again
(qemu) info snapshots 
Snapshot devices: drive-ide0-0-0
Snapshot list (from drive-ide0-0-0):
ID        TAG                 VM SIZE                DATE       VM CLOCK

  
Actual results:
snapshot disappear.

Expected results:
snapshot should be available.

Additional info:

Comment 2 Kevin Wolf 2011-02-17 13:29:53 UTC
Is this reproducible with -145?

Comment 3 Shirley Zhou 2011-02-18 02:27:23 UTC
(In reply to comment #2)
> Is this reproducible with -145?
Can be reproduce this issue with qemu-kvm-0.12.1.2-2.145.el6.x86_64.

Comment 5 Kevin Wolf 2011-05-31 13:21:10 UTC
I wonder why I asked for reproduction back in February... This can't work because snapshot=on creates a new qcow2 file with the image as a backing file, and neither can you load an internal snapshot from a backing file nor is it easy to implement. This would be a major RFE and we don't support internal snapshots. Closing.


Note You need to log in before you can comment on or make changes to this bug.