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

Better error message when attaching unsupported controller

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.5
    • None
    • No
    • Low
    • 1
    • sst_virtualization_hwe
    • ssg_virtualization
    • 200
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • zKVM CY24Q4
    • None
    • None
    • s390x
    • None

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

      Attach a pcie-to-pci-bridge controller to a s390-ccw-virtio machine.

      Please provide the package NVR for which bug is seen:

      libvirt-10.5.0-6.el9_5.s390x

      How reproducible:

      Steps to reproduce

      Try have a VM with <controller type="pci" model="pcie-to-pci-bridge"/> (define, edit, attach)

      Expected results

      There's an error message "not supported for s390-ccw-virtio machine type"

      Actual results

      error: internal error: Cannot automatically add a new PCI bus for a device with connect flags 1000
      Failed. Try again? [y,n,i,f,?]:

      Additional info

      This is not a regression we just started testing it recently.
      It reproduces on RHEL 8.10 libvirt-8.0.0

              thuth@redhat.com Thomas Huth
              smitterl@redhat.com Sebastian Mitterle
              virt-maint virt-maint
              Sebastian Mitterle Sebastian Mitterle
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: