Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 676750

Summary: internal snapshot lost when start guest with snapshot=on
Product: Red Hat Enterprise Linux 6 Reporter: Shirley Zhou <szhou>
Component: qemu-kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: mkenneth, mshao, ndai, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-31 13:21:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 580951    

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.