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.
Bug 1146460 - qemu should quit with friendly prompt when use usb3.0 stick + uhci controller
Summary: qemu should quit with friendly prompt when use usb3.0 stick + uhci controller
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1046612
Blocks: 1103193 1146483 1146486
TreeView+ depends on / blocked
 
Reported: 2014-09-25 09:48 UTC by Jun Li
Modified: 2015-09-01 10:56 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1046612
Environment:
Last Closed: 2015-09-01 10:56:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Jun Li 2014-09-25 09:51:22 UTC
Version of components:
qemu-kvm-rhev-2.1.0-4.el7.x86_64

CLI:
# /usr/libexec/qemu-kvm -M pc -drive file=/home/RHEL-Server-7.0-64-virtio.qcow2,if=none,id=img -device virtio-blk-pci,drive=img,id=sys-img,bootindex=1 -m 2G -smp 2 -monitor stdio -spice port=5931,disable-ticketing -qmp tcp::8888,server,nowait -netdev tap,id=tap0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=tap0,id=net0,mac=24:be:05:11:92:11 -boot menu=on -M pc-i440fx-rhel7.0.0 \
-usb -device usb-host,hostbus=1,hostaddr=5,id=usb-stick

Comment 5 Gerd Hoffmann 2015-08-31 11:19:57 UTC
please retest with 2.3.x

Comment 6 juzhang 2015-09-01 02:05:58 UTC
Hi Yahui,

Could you have a try?

Best Regards,
Junyi

Comment 7 Yanhui Ma 2015-09-01 06:23:30 UTC
retest the issue with qemu-kvm-rhev-2.3.0-21.el7.x86_64

steps:

1.plug a usb3.0 stick into a usb-2 port on host.
2.boot guest with this stick passthrough to guest using uhci controller.
/usr/libexec/qemu-kvm -M pc -drive file=/home/rhel7.2.qcow2,if=none,id=img -device virtio-blk-pci,drive=img,id=sys-img,bootindex=1 -m 2G -smp 2 -monitor stdio -spice port=5931,disable-ticketing -qmp tcp::8888,server,nowait -netdev tap,id=tap0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=tap0,id=net0,mac=24:be:05:11:92:11 -boot menu=on -M pc -usb -device usb-host,hostbus=2,hostaddr=3,id=usb-stick
QEMU 2.3.0 monitor - type 'help' for more information
(qemu) info usb
usb       usbhost   
(qemu) info usb
  Device 0.1, Port 1, Speed 12 Mb/s, Product

results:
after step2, guest boots up successfully and the stick works well in guest.

Comment 8 Gerd Hoffmann 2015-09-01 10:56:13 UTC
> results:
> after step2, guest boots up successfully and the stick works well in guest.

So the 2.3 rebase picked up the fix for this, good.


Note You need to log in before you can comment on or make changes to this bug.