What were you trying to do that didn't work?
Creating an internal snapshot of a running guest, there is an error occur when revert the snapshot.
Please provide the package NVR for which the bug is seen:
# rpm -q libvirt qemu-kvm libvirt-10.9.0-1.el9.aarch64 qemu-kvm-9.1.0-1.el9.aarch64
How reproducible is this bug?:
100%
Steps to reproduce
1. Start a guest
# virsh start vm1
Domain 'vm1' started
2. Create an internal snapshot of guest
# virsh snapshot-create-as vm1 s1 Domain snapshot s1 created # virsh snapshot-list vm1 --internal Name Creation Time State --------------------------------------------- s1 2024-11-05 02:33:37 -0500 running
3. Revert the snapshot
# virsh snapshot-revert avocado-vt-vm1 s1
error: Failed to revert snapshot s1
error: internal error: QEMU unexpectedly closed the monitor (vm='vm1'): 2024-11-05T07:36:30.099944Z qemu-kvm: This is a disk-only snapshot. Revert to it offline using qemu-img
# virsh list --all
Id Name State
---------------------------------
- vm1 shut off
Expected results
The snapshot could be reverted
Actual results
The snapshot fails to revert
Additional info:
shutoff state internal snapshot could be reverted
- is blocked by
-
RHEL-50574 Rebase libvirt in RHEL-9.6.0
- In Progress
- links to