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

Fails to enable dynamicMemslots for virtio-mem memory device

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-10.1, rhel-9.7
    • libvirt / General
    • None
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • s390x
    • None

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

      Failed to define the guest VM due to the virtio-mem device having {{dynamicMemslots }}enabled.

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

       

      # rpm -q libvirt qemu-kvm
      libvirt-11.2.0-1.el10.s390x
      qemu-kvm-10.0.0-0.rc3.el10.preview.s390x

       

      How reproducible is this bug?:100%

      Steps to reproduce

      1. Prepare a guest config xml with below virtio-mem device:
        <memory model='virtio-mem' >
            <target dynamicMemslots='yes'>
              <size unit='KiB'>2097152</size>
              <block unit='KiB'>1024</block>
              <requested unit='KiB'>2097152</requested>
             </target>
          </memory>
      2. Define the guest
      # virsh define vm1.xml
      error: Failed to define domain from vm1.xml
      error: unsupported configuration: virtio-mem does not support dynamicMemslots

      Expected results

      guest vm could be defined successfully

      Actual results

      error prompts when defining the guest vm.

              mprivozn@redhat.com Michal Privoznik
              lcong@redhat.com Liang Cong
              Michal Privoznik Michal Privoznik
              Liang Cong Liang Cong
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: