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

[libvirt][aarch64] Automate the creation of the USB controller

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

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.4
    • libvirt
    • None
    • 1
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • Libvirt in planning
    • Hide

      Steps to Reproduce:
      1. Prepare a guest xml with usb input device but no usb controller device
      ```

      1. cat avocado-vt-vm1.xml | grep -B 2 /input
        <input type='tablet' bus='usb'>
        <address type='usb' bus='0' port='1'/>
        </input>
        ```
        2. Define the guest
        ```
      2. virsh define avocado-vt-vm1.xml
        error: Failed to define domain from avocado-vt-vm1.xml
        error: unsupported configuration: USB is disabled for this domain, but USB devices are present in the domain XML
        ```

      Actual results:
      The libvirt does not create usb controller device automatically, `virsh define` fails.

      Expected results:
      `virsh define` succeed.

      Additional info:
      x86 works well.

      Show
      Steps to Reproduce: 1. Prepare a guest xml with usb input device but no usb controller device ``` cat avocado-vt-vm1.xml | grep -B 2 /input <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> ``` 2. Define the guest ``` virsh define avocado-vt-vm1.xml error: Failed to define domain from avocado-vt-vm1.xml error: unsupported configuration: USB is disabled for this domain, but USB devices are present in the domain XML ``` Actual results: The libvirt does not create usb controller device automatically, `virsh define` fails. Expected results: `virsh define` succeed. Additional info: x86 works well.
    • None
    • None
    • aarch64
    • None

      Currently when a USB device is added to the xml, the controller is not automatically created. This was first reported through BZ2232273. On x86 the USB controller is automatically added by libvirt. This is a long term RFE.

              rhn-engineering-abologna Andrea Bolognani
              eauger Eric Auger
              Andrea Bolognani
              virt-maint virt-maint
              Hana Holoubkova Hana Holoubkova
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: