Bug 754025

Summary: usb-kbd does not work on windows system
Product: Red Hat Enterprise Linux 6 Reporter: langfang <flang>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.2CC: acathrow, bsarathy, juzhang, michen, mkenneth, qzhang, qzhou, tburke, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-20 08:11:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description langfang 2011-11-15 07:38:19 UTC
Description of problem:
when boot a win2008(64bit) guest with '-usb -device usb-tablet -device usb-kbd,id=kbd1',the keyboard don't work normally

Version-Release number of selected component (if applicable):
2.6.32-220.el6.x86_64
qemu-kvm-0.12.1.2-2.209.el6.x86_64
seabios-0.6.1.2-8.el6.x86_64


How reproducible:
mostly

CLI:
  /usr/libexec/qemu-kvm -m 4G -smp 2 -cpu cpu64-rhel6,+x2apic -drive file=/home/win2008r2-1,format=qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none  -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,mac=00:10:20:2d:31:21,bus=pci.0,addr=0x4,id=net0 -boot order=cdn -uuid 3290efd3-7c9e-44f9-b5f7-af0f3a1b3066 -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -name 2008SP2-64 -spice port=5830,disable-ticketing -vga qxl -usb -device usb-tablet -device usb-kbd,id=kbd1

Steps to Reproduce:
1.boot a win2008(64bit) guest with '-usb -device usb-kbd,id=kbd1'
2.input any character in a txt file

  
Actual results:
  key-board does not work, nothing response

(qemu) usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full
usb-kbd: warning: key event queue full


Expected results:
  the key-board can work normally


Additional info:
1)the rhel guest is ok for this.
2)when open 'device manager' ,press 'keyboard',you found
"Stardard Ps/2 Keyboard"
"HID compliant keyboard"
.this  senario ,the keyboard works correctly,can type characters in guest

Comment 1 Dor Laor 2011-12-08 09:01:45 UTC
IT's low priority ATM and it can even be closed as won't fix for now.
Gerd, for your consideration.

Comment 2 Gerd Hoffmann 2012-01-04 11:57:45 UTC
possibly dup of 767499

Comment 3 Gerd Hoffmann 2012-02-17 12:56:55 UTC
Please retest with qemu-kvm-0.12.1.2-2.213.el6 or newer.

Comment 4 FuXiangChun 2012-02-20 02:16:40 UTC
1.reproduce 
can reproduce this with qemu-kvm-0.12.1.2-2.209.el6.x86_64

2.verify 
  boot guest with qemu-kvm-0.12.1.2-2.225.el6.x86_64

testing result:
  key-board work well

so this bug is fixed.

Comment 5 Gerd Hoffmann 2012-02-20 08:11:43 UTC

*** This bug has been marked as a duplicate of bug 767499 ***