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

Fail to report a compressed Libvirt qemu suspend image

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • file
    • None
    • No
    • None
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      As subject

      What is the impact of this issue to you?

      Get the incorrect info

      Please provide the package NVR for which the bug is seen:

      file-5.39-16.el9.x86_64
      libvirt-10.9.0-1.el9.x86_64
      qemu-kvm-9.1.0-3.el9.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Set save_image_format="xz" in /etc/libvirt/qemu.conf. Then restart virtqemud
      ➜  ~ grep save_image_format /etc/libvirt/qemu.conf
      save_image_format = "xz"
      ➜  ~ systemctl restart virtqemud
      1. Create a running domain:
      ➜  ~ virt-install --location https://mirrors.163.com/centos-vault/8.5.2111/BaseOS/x86_64/os/ -n centos --disk size=10 -r 4096
      ➜  ~ virsh list 
       Id   Name     State
      ------------------------
       1    centos   running
      1. Save the domain and check the domain state image

       

      ➜  ~ virsh save centos  /tmp/centos.sav     
      Domain 'centos' saved to /tmp/centos.sav
      ➜  ~ file /tmp/centos.sav
      /tmp/centos.sav: Libvirt QEMU Suspend Image, version 2, XML length 72300, running
      

      Expected results

      /tmp/centos.sav: Libvirt QEMU Suspend Image, version 2, XML length 72300, running, compressed

      Actual results

      File doesn't report the image file is compressed.

       

       

              vmihalko Vincent Mihalkovic
              hanhansolo Han Han
              Vincent Mihalkovic Vincent Mihalkovic
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: