Your message dated Sat, 7 Jun 2025 22:09:49 +0200
with message-id <20250607200949.kroj2zychoteqlv6@meyneth>
and subject line Re: [Pkg-libvirt-maintainers] Bug#1107399: Snapshot-revert is 
failing and shutting down the VM immediately
has caused the Debian Bug report #1107399,
regarding Snapshot-revert is failing and shutting down the VM immediately
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1107399: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107399
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
On Sat, Jun 07, 2025 at 09:00:14PM +0200, Andrea Bolognani wrote:
> Control: merge -1 1104735
> 
> On Sat, Jun 07, 2025 at 12:37:00PM +0530, Trupti wrote:
> > `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`
> > 
> [...]
> > 
> > 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.
> 
> The fix has been included via backport in 11.3.0-2, targeting trixie:
> 
>   
> https://tracker.debian.org/news/1647903/accepted-libvirt-1130-2-source-into-unstable/
> 
> It will also be included via rebase in the upcoming 11.4.0-1,
> targeting future Debian releases:
> 
>   https://salsa.debian.org/libvirt-team/libvirt/-/merge_requests/268

Merging didn't work since the bugs were out of sync. I'm closing this
one instead.

-- 
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to