Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-95984

[RHEL-10.1]QEMU: Live snapshot revert fails with "Device 'libvirt-2-format' is writable but does not support snapshots"

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhel-10.1
    • qemu-kvm
    • No
    • None
    • rhel-virt-core
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Attempting to revert a runningĀ  virtual machine to an internal snapshot using the virsh snapshot-revert command.

      Package NVR for which the bug is seen:

      • libvirt: libvirt-11.3.0-1.el10.x86_64/aarch64
      • qemu-kvm: qemu-kvm-10.0.0-5.el10.x86_64/aarch64
      • kernel: kernel-6.12.0-89.el10.x86_64/aarch64

      Architectures Affected:

      • aarch64
      • x86_64

      How reproducible is this bug?:

      100%
      Steps to reproduce:

      Create a virtual machine with a single disk of multiple disk
      Start the virtual machine.
      Create a live internal snapshot of the running VM. (Command: virsh snapshot-create-as --domain <vm_name> --name <snapshot_name> --live --disk-only)
      Attempt to revert the VM to the created internal snapshot. (Command: virsh snapshot-revert --domain <vm_name> --snapshotname <snapshot_name>)
      Expected Results:

      The virtual machine should successfully revert to the specified live internal snapshot.

      Actual Results:

      The virsh snapshot-revert command fails with the following error:

      error: operation failed: load of internal snapshot 'libvirt-2-format job failed: Device 'libvirt-2-format is writable but does not support snapshots.
      Additional Information:

      This error consistently occurs even in a minimal, single-disk VM configuration, indicating that the issue is not related to multi-disk complexities.
      Debugging analysis of libvirtd.log confirms that this is a non-fatal error reported by the QEMU process back to libvirtd via a QMP (QEMU Monitor Protocol) message during the snapshot-load job.
      The QEMU process itself does not crash; it continues to run.

      libvirt2disk.txt

      libvirt1disk.txt

        1. libvirt1disk.txt
          614 kB
          Bolatbek Issakh
        2. libvirt2disk.txt
          630 kB
          Bolatbek Issakh

              virt-maint virt-maint
              rh-ee-bissakh Bolatbek Issakh
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: