[Pkg-libvirt-maintainers] Bug#1107399: Snapshot-revert is failing and shutting down the VM immediately
Trupti
trupti at linux.ibm.com
Sat Jun 7 08:07:00 BST 2025
Package: libvirt-daemon
Version: 11.3.0
Severity: important
`virsh snapshot-revert` is failing for snapshots of running VMs on
Debian Trixie/Sid (powerpc64le), causing the VM to shut off.
The error is:
`error: load of internal snapshot 'snapshot_name' job failed: Device
'libvirt-2-format' is writable but does not support snapshots`
System Details:
Host OS: Debian GNU/Linux trixie/sid (powerpc64le)
Kernel: 6.12.27-powerpc64le-64k
QEMU: 10.0.0 (Debian 1:10.0.0+ds-1)
Libvirt: libvirtd (libvirt) 11.3.0
Steps to reproduce
1) Create a Debian guest same as Host OS
2) Check VM is running and accessible.
2) Take a snapshot of a VM using following command. VM is still running
after taking snapshot
#virsh snapshot-create vm
Domain snapshot snapshot_name created
3) Now do a snapshot-revert using the same snapshot created above. After
taking snapshot guest is shutdown immediately.
#virsh snapshot-revert vm snapshot_name
error: Failed to revert snapshot 1748851900
error: operation failed: load of internal snapshot 'snapshot_name' job
failed: Device 'libvirt-2-format' is writable but does not support
snapshots
Expected Result:
The domain should successfully revert to snapshot snapshot_name
The upstream fix for this is available at:
https://gitlab.com/libvirt/libvirt/-/commit/889d2ae289cd95d612575ebc7a4e111ac33b0939
(Discussed further in: https://gitlab.com/libvirt/libvirt/-/issues/771)
This bug is fixed in the new release of libvirt package 11.4.0-1 as
mentioned in the link
https://libvirt.org/news.html#:~:text=floppies%20not%20work.-,Bug%20fixes,-qemu%3A%20Fix%20failure
To resolve this bug for Debian users, we propose applying the linked
upstream fix to the libvirt package in Trixie/Sid, ensuring it carries
forward to subsequent releases.
Thanks and Regards,
Trupti.
More information about the Pkg-libvirt-maintainers
mailing list