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

Running state internal snapshot of VM with UEFI fails to revert

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.6
    • libvirt
    • No
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • 10.10.0
    • None

      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

              pkrempa@redhat.com Peter Krempa
              lcong@redhat.com Liang Cong
              Peter Krempa Peter Krempa
              Liang Cong Liang Cong
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: