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.
Test with qemu-kvm-0.12.1.2-2.410.el6.x86_64:
(qemu) info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.2, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.1, Port 3, Speed 480 Mb/s, Product QEMU USB MSD
Device 0.1, Port 4, Speed 12 Mb/s, Product QEMU USB Keyboard
Device 0.1, Port 5, Speed 12 Mb/s, Product QEMU USB Mouse
(qemu) device_add usb-host,bus=usbtest.0,id=usbhostdev,vendorid=aaa,productid=aaa
Bus 'usbtest.0' not found
(qemu) device_add usb-host,id=usbhostdev,vendorid=aaa,productid=aaa
(qemu) info usb
Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.3, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.4, Port 3, Speed 480 Mb/s, Product QEMU USB MSD
Device 0.2, Port 4, Speed 12 Mb/s, Product QEMU USB Keyboard
Device 0.2, Port 5, Speed 12 Mb/s, Product QEMU USB Mouse
Device 0.0, Port 6, Speed 1.5 Mb/s, Product USB Host Device
Non-existed bus can be detected, but failed with non-existed vendor id and product id when don't specify bus, re-assign.
(In reply to Gerd Hoffmann from comment #6)
> Minor issue, missing sanity check.
> IMO not important enough to fix in RHEL-6.
>
> Does it reproduce in RHEL-7?
On RHEL7, works fine:
(qemu) device_add usb-host,id=usbhostdev,vendorid=aaa,productid=aaa
Property 'usb-host.productid' doesn't take value 'aaa'
Hi, Gerd
Maybe we don't plan to fix it in rhel6.5? Ademar move it to rhel6.6.0. And as this is not a critical bug, we agree to fix it in next release. If so, I will request Michal's help to remove it from the errata.
Thanks,
Qunfang
Description of problem: warning msg not correct after hotplug invalid usb-host to guest Version-Release number of selected component (if applicable): Host: # uname -r 2.6.32-358.18.1.el6.x86_64 # rpm -qa | grep qemu gpxe-roms-qemu-0.9.7-6.9.el6.noarch qemu-img-rhev-0.12.1.2-2.399.el6.x86_64 qemu-kvm-rhev-tools-0.12.1.2-2.399.el6.x86_64 qemu-guest-agent-0.12.1.2-2.355.el6.x86_64 qemu-kvm-rhev-debuginfo-0.12.1.2-2.399.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.399.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. boot the guest /usr/libexec/qemu-kvm \ -name 'virt-tests-vm1' \ -nodefaults \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \ -device piix3-usb-uhci,id=usbtest,bus=pci.0,addr=0x5 \ -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-6.4-64-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,snapshot=off,format=qcow2,aio=native \ -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,bootindex=0 \ -device e1000,netdev=idZ9Ft18,mac='9a:54:55:56:57:58',bus=pci.0,addr=0x3,id='idBzQGb2' \ -netdev tap,id=idZ9Ft18 \ -m 2048 \ -smp 1,maxcpus=1,cores=1,threads=1,sockets=2 \ -cpu 'Penryn' \ -M rhel6.4.0 \ -device AC97,addr=0x7 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -vnc :0 \ -vga cirrus \ -rtc base=utc,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -no-kvm-pit-reinjection \ -enable-kvm \ -monitor stdio 2. hotplug invalid usb-host to guest (qemu) device_add usb-host,bus=usbtest.0,id=usbhostdev,vendorid=aaa,productid=aaa 3. Actual results: husb: using sys file-system with /dev/bus/usb Expected results: Property 'usb-host.productid' doesn't take value 'aaa' Additional info: