Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionAndrea Bolognani
2016-01-08 18:30:44 UTC
When a ppc64 guest contains
<controller type='usb' index='0'/>
in its configuration (no model specified), and the UHCI controller
is not available in QEMU, the USB support will be enabled by using
the legacy
-usb
command line option instead of the newer
-device pci-ohci
option. This would cause the guest ABI to break if QEMU were ever
to change its default - which is going to happen, see Bug 1284333.
Comment 2Martin Kletzander
2016-01-09 17:45:06 UTC
Fixed upstream with v1.3.0-215-g8156493d8db9:
commit 8156493d8db95de91dd9ace743df0fd4dff98281
Author: Martin Kletzander <mkletzan>
Date: Thu Jan 7 16:14:58 2016 +0100
Fix USB model defaults for ppc64
Packages:
Steps:
1. Configure a guest XML with below usb controller setting without model specified.
<controller type='usb' index='0'/>
2. Ensure the UHCI controller is not available in QEMU via run below command to check:
# echo -e 'spower-off\r' |
/usr/libexec/qemu-kvm -nographic -nodefaults -usb -serial stdio|
grep usb
00 0000 (D) : 106b 003f serial bus [ usb-ohci ]
3. Start the guest successfully and check the qemu command line.
'-device pci-ohci' is used to enable the USB support in the qemu command line instead of '-usb'
# virsh start guest2
Domain guest2 started
# ps -ef|grep qemu-kvm|grep pci-ohci
qemu 70578 1 40 00:21 ? 00:00:21 /usr/libexec/qemu-kvm -name guest2 -S -machine pseries-rhel7.3.0,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 0152f310-c674-4e6c-a6b3-28469f14df01 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-guest2/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on **-device pci-ohci**,id=usb,bus=pci.0,addr=0x2 - ...
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHSA-2016-2577.html