Bug 1461787
Summary: | Keyboard doesn't work when using virtio-keyboard-pci device on RHEL6.9 Guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yilzhang |
Component: | qemu-kvm-rhev | Assignee: | David Gibson <dgibson> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | knoel, lvivier, qzhang, virt-maint, xuma, yilzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-16 03:03:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yilzhang
2017-06-15 10:44:12 UTC
I've checked config files from kernel 2.6.32-707.el6: virtio-input has been introduced in 4.1 and not backported to 2.6.32, only to 3.10.0-280. Are you sure it works for x86_64? You should check you don't have an USB keyboard with "lsusb" and "lspci -v". Thanks On x86_64 guest: # lspci -v 00:03.0 Keyboard controller: Red Hat, Inc Virtio input (rev 01) Subsystem: Red Hat, Inc Device 1100 Physical Slot: 3 Flags: fast devsel, IRQ 11 Memory at febd5000 (32-bit, non-prefetchable) [size=4K] Memory at fe804000 (64-bit, prefetchable) [size=16K] Capabilities: [98] MSI-X: Enable- Count=2 Masked- Capabilities: [84] Vendor Specific Information: Len=14 <?> Capabilities: [70] Vendor Specific Information: Len=14 <?> Capabilities: [60] Vendor Specific Information: Len=10 <?> Capabilities: [50] Vendor Specific Information: Len=10 <?> Capabilities: [40] Vendor Specific Information: Len=10 <?> Kernel modules: virtio_pci # cat /proc/bus/input/devices ----------(only one keyboard is listed) I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 S: Sysfs=/devices/platform/i8042/serio0/input/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=120013 B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe B: MSC=10 B: LED=7 It seems x86 guest doesn't recognize QEMU Virtio Keyboard too, but it can use a default keyboard ("AT Translated Set 2 keyboard"), although I added "-nodefaults" to the qemu command line. So x86_64 also have this problem. I see that you mentioned "virtio-input is not backported to 2.6.32", so you can decide what to do next with this bug. Thanks a lot. I'm pretty sure we're not going to add a whole new keyboard driver to RHEL6 at this late stage, particularly when an XHCI keyboard will work perfectly well. |