Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1650419 - [RFE] implement support for qcow2 internal snapshots without libvirt metadata
Summary: [RFE] implement support for qcow2 internal snapshots without libvirt metadata
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: x86_64
OS: Linux
Target Milestone: rc
: 8.0
Assignee: Peter Krempa
QA Contact: gaojianan
Depends On:
Blocks: 1650420
TreeView+ depends on / blocked
Reported: 2018-11-16 06:32 UTC by gaojianan
Modified: 2019-01-22 13:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1650420 (view as bug list)
Last Closed: 2019-01-22 13:28:31 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

Description gaojianan 2018-11-16 06:32:04 UTC
Description of problem:
“virsh snapshot-list“ with option --no-metadata can't show snapshots without metadata

Version-Release number of selected component (if applicable):
Linux test2 4.18.0-31.el8.x86_64 #1 SMP

How reproducible:

Steps to Reproduce:
1.Prepare a guest and take snapshots with option --no-metadata
# virsh snapshot-create-as rhel s1 --no-metadata
Domain snapshot s1 created
2.List the snapshot with option --no-metadata
# virsh snapshot-list rhel --no-metadata
 Name                 Creation Time             State

Actual results:
There is no snapshot shown with snapshot-list --no-metadata.
Expected results:
Show the snapshots which is established in step 1.

Additional info:
There are some discussions about this question:

Comment 1 Peter Krempa 2018-11-16 09:15:34 UTC
This means implementing internal snapshot loading from qcow. Given that qemu's stance is that external snapshots are the way to go I don't expect much attention here, but it's a legitimately missing feature.

Comment 2 Peter Krempa 2019-01-22 13:28:31 UTC
The problems which would arise from attempting libvirt to deal with snapshots with no libvirt metadata (e.g. missing snapshot of the XML state) far outweigh the benefits of implementing this, thus I'll close this BZ for now.

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