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

[RFE] virsh domcapabilites doesn't show panic devices

    • libvirt-10.10.0-1.el10
    • No
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • 10.10.0
    • None

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

      libvirt-10.8.0-2.el10.aarch64

      How reproducible is this bug?

      100%

      Steps to reproduce

      Run 'virsh domcapabilities' command.
      # virsh domcapabilities
      <domainCapabilities>
        <path>/usr/libexec/qemu-kvm</path>
        <domain>kvm</domain>
        <machine>virt-rhel10.0.0</machine>
        <arch>aarch64</arch>
        <vcpu max='384'/>
        <iothreads supported='yes'/>
        <os supported='yes'>
          <enum name='firmware'>
            <value>efi</value>
          </enum>
          <loader supported='yes'>
            <value>/usr/share/edk2/aarch64/QEMU_EFI-silent-pflash.qcow2</value>
            <value>/usr/share/edk2/aarch64/QEMU_EFI-silent-pflash.raw</value>
            <value>/usr/share/edk2/aarch64/QEMU_EFI-pflash.qcow2</value>
            <value>/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw</value>
            <enum name='type'>
              <value>rom</value>
              <value>pflash</value>
            </enum>
            <enum name='readonly'>
              <value>yes</value>
              <value>no</value>
            </enum>
            <enum name='secure'>
              <value>no</value>
            </enum>
          </loader>
        </os>
        <cpu>
          <mode name='host-passthrough' supported='yes'>
            <enum name='hostPassthroughMigratable'>
              <value>off</value>
            </enum>
          </mode>
          <mode name='maximum' supported='yes'>
            <enum name='maximumMigratable'>
              <value>on</value>
              <value>off</value>
            </enum>
          </mode>
          <mode name='host-model' supported='no'/>
          <mode name='custom' supported='yes'>
            <model usable='unknown' vendor='unknown'>max</model>
            <model usable='unknown' deprecated='yes' vendor='unknown'>cortex-a57</model>
          </mode>
        </cpu>
        <memoryBacking supported='yes'>
          <enum name='sourceType'>
            <value>file</value>
            <value>anonymous</value>
            <value>memfd</value>
          </enum>
        </memoryBacking>
        <devices>
          <disk supported='yes'>
            <enum name='diskDevice'>
              <value>disk</value>
              <value>cdrom</value>
              <value>floppy</value>
              <value>lun</value>
            </enum>
            <enum name='bus'>
              <value>fdc</value>
              <value>scsi</value>
              <value>virtio</value>
              <value>usb</value>
            </enum>
            <enum name='model'>
              <value>virtio</value>
              <value>virtio-transitional</value>
              <value>virtio-non-transitional</value>
            </enum>
          </disk>
          <graphics supported='yes'>
            <enum name='type'>
              <value>vnc</value>
              <value>dbus</value>
            </enum>
          </graphics>
          <video supported='yes'>
            <enum name='modelType'>
              <value>virtio</value>
              <value>none</value>
              <value>ramfb</value>
            </enum>
          </video>
          <hostdev supported='yes'>
            <enum name='mode'>
              <value>subsystem</value>
            </enum>
            <enum name='startupPolicy'>
              <value>default</value>
              <value>mandatory</value>
              <value>requisite</value>
              <value>optional</value>
            </enum>
            <enum name='subsysType'>
              <value>usb</value>
              <value>pci</value>
              <value>scsi</value>
            </enum>
            <enum name='capsType'/>
            <enum name='pciBackend'>
              <value>default</value>
              <value>vfio</value>
            </enum>
          </hostdev>
          <rng supported='yes'>
            <enum name='model'>
              <value>virtio</value>
              <value>virtio-transitional</value>
              <value>virtio-non-transitional</value>
            </enum>
            <enum name='backendModel'>
              <value>random</value>
              <value>egd</value>
              <value>builtin</value>
            </enum>
          </rng>
          <filesystem supported='yes'>
            <enum name='driverType'>
              <value>path</value>
              <value>handle</value>
              <value>virtiofs</value>
            </enum>
          </filesystem>
          <tpm supported='yes'>
            <enum name='model'>
              <value>tpm-tis</value>
            </enum>
            <enum name='backendModel'>
              <value>emulator</value>
              <value>external</value>
            </enum>
            <enum name='backendVersion'>
              <value>2.0</value>
            </enum>
          </tpm>
          <redirdev supported='yes'>
            <enum name='bus'>
              <value>usb</value>
            </enum>
          </redirdev>
          <channel supported='yes'>
            <enum name='type'>
              <value>pty</value>
              <value>unix</value>
            </enum>
          </channel>
          <crypto supported='yes'>
            <enum name='model'/>
            <enum name='type'>
              <value>qemu</value>
            </enum>
            <enum name='backendModel'>
              <value>builtin</value>
            </enum>
          </crypto>
          <interface supported='yes'>
            <enum name='backendType'>
              <value>default</value>
              <value>passt</value>
            </enum>
          </interface>
        </devices>
        <features>
          <gic supported='yes'>
            <enum name='version'>
              <value>3</value>
            </enum>
          </gic>
          <vmcoreinfo supported='yes'/>
          <genid supported='no'/>
          <backingStoreInput supported='yes'/>
          <backup supported='yes'/>
          <async-teardown supported='yes'/>
          <ps2 supported='no'/>
          <sev supported='no'/>
          <sgx supported='no'/>
          <launchSecurity supported='no'/>
        </features>
      </domainCapabilities>
      
      

      Expected results

      The devices should include panic devices.

              mkletzan@redhat.com Martin Kletzander
              xiaodwan@redhat.com Xiaodai Wang
              Martin Kletzander Martin Kletzander
              Zhen Tang Zhen Tang
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: