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 1298415 - send key "Ctrl+Alt+Del" to guest will cause "usb-host" device disappear in boot menu
Summary: send key "Ctrl+Alt+Del" to guest will cause "usb-host" device disappear in bo...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.8
Hardware: x86_64
OS: Windows
medium
medium
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-14 03:01 UTC by Yanan Fu
Modified: 2016-02-17 07:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-17 07:17:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yanan Fu 2016-01-14 03:01:55 UTC
Description of problem:
boot guest with "usb-host"device,and with "-boot menu=on",send key "Ctrl+Alt+Del" to guest, and enter boot menu with "ESC" or "F12", USB device disappear in boot menu.


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.482.el6.x86_64
seabios-0.6.1.2-30.el6.x86_64
kernel-2.6.32-595.el6.x86_64

How reproducible:
60%

Steps to Reproduce:
1.boot one guest with "usb-host" device and "-boot menu=on":
   -boot menu=on
   -device usb-ehci,id=ehci \
   -device usb-host,hostbus=3,hostaddr=10,id=hostdev0,bus=ehci.0   \

2.click "Send key"--> "Ctrl+Alt+Del" in remote viewer.
3.after seabois print "Press ESC or F12 for boot menu", press ESE or F12 enter boot menu
4. USB device disappear in boot menu

Actual results:
no usb device in boot menu

Expected results:
usb device should exist in boot menu normally.

Additional info:
when send key "Ctrl+Alt+Del", qemu print "processing error - resetting ehci HC" every times.
when hit this issue, /var/log/message show: 

Jan 14 10:44:30 localhost kernel: Buffer I/O error on device sdc, logical block 1
Jan 14 10:44:30 localhost kernel: Buffer I/O error on device sdc, logical block 1
Jan 14 10:44:30 localhost kernel: Buffer I/O error on device sdc, logical block 1
(/dev/sdc is the usb device when i plug it in host)

CLI:
/usr/libexec/qemu-kvm \
-M pc \
-cpu SandyBridge,enforce \
-m 4G \
-smp 1,cores=1,threads=1,sockets=1,maxcpus=65 \
-nodefaults \
-vga std \
-uuid 162494fb-ae6a-47dd-a040-cb26b497b60a \
-chardev socket,id=seabioslog,path=/tmp/seabiosdebug,server,nowait \
-device isa-debugcon,chardev=seabioslog,iobase=0x402 \
-device sga \
-spice port=5901,disable-ticketing \
-usbdevice tablet \
-monitor stdio \
-S \
-boot menu=on \
-drive id=drive_hd1,if=none,media=disk,file=/root/empty_file1 \
-device ide-drive,id=hd1,drive=drive_hd1,bus=ide.0,unit=0 \
-device usb-ehci,id=ehci \
-device usb-host,hostbus=3,hostaddr=10,id=hostdev0,bus=ehci.0   \

Comment 2 Gerd Hoffmann 2016-02-17 07:17:06 UTC
Reset via Ctrl-Alt-Del doesn't do a full hardware reset on RHEL-6,
which in turn can causes effects like this.  Fixed in RHEL-7, not
easily fixable in the RHEL-6 code base.

Workaround: use "virsh reset $guest" instead.


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