Bug 947695
| Summary: | fail to type any character in win2012 64bit guest with usb-kbd device under Q35 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> | ||||||||||
| Component: | qemu-kvm | Assignee: | Miki Mishael <mmishael> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | 7.0 | CC: | acathrow, bcao, chayang, hhuang, juzhang, kraxel, mazhang, michen, mmishael, qzhang, rhod, shuang, sluo, virt-bugs, virt-maint, xfu, yvugenfi | ||||||||||
| 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: | 2013-12-24 13:34:18 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: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Sibiao Luo
2013-04-03 03:37:16 UTC
My qemu-kvm command line: # /usr/libexec/qemu-kvm -S -M q35 -cpu SandyBridge -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection -name sluo-test -uuid ed09fa10-6ffe-4811-a42f-0294afcb5a42 -rtc base=localtime,clock=host,driftfix=slew -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pcie.0,addr=0x3 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait -device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port2 -drive file=/home/windows_server_2012_x64.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-scsi-pci,bus=pcie.0,addr=0x4,id=scsi0 -device scsi-hd,bus=scsi0.0,drive=drive-system-disk,id=system-disk,bootindex=1 -netdev tap,id=hostnet0,vhost=off,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:0d:b1,bus=pcie.0,addr=0x5,bootindex=2 -device virtio-balloon-pci,id=ballooning,bus=pcie.0,addr=0x6 -drive file=/home/my-data-disk.raw,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK2 -device virtio-scsi-pci,bus=pcie.0,addr=0x7,id=scsi1 -device scsi-hd,bus=scsi1.0,drive=drive-data-disk,id=data-disk -readconfig /home/ich9-ehci-uhci.cfg -device usb-tablet,id=input0 -device usb-mouse,id=mouse0 -device usb-kbd,id=kbd0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0,debug=2 -drive file=/home/my-usb-storage.qcow2,if=none,id=storage0,media=disk,cache=none,format=qcow2 -device usb-storage,drive=storage0,id=usb-storage0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -serial unix:/tmp/ttyS0,server,nowait -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -vnc :1 -spice disable-ticketing,port=5931 -monitor stdio Created attachment 731035 [details]
the device manager for usb-kbd under q35.
Created attachment 731036 [details]
the device manager for usb-kbd under pc-i440fx-1.4.
Please reassign and/or dispatch as appropriate. Thanks. Created attachment 836929 [details]
Tested usb-kbd under q35.png
I couldn't reproducible the bug, not once.
host info:
kernel - Linux Snarl.daynix 3.10.9-200.fc19.x86_64 #1 SMP Wed Aug 21 19:27:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
qemu-system-x86_64 - v1.6.0 tag.
seabios-rel-1.7.3 tag.
guest info:
windows: win2012 64bit
I have tried with and without the bios (also tried other bios versions).
My command line:
/home/mikim/install_gen/bin/qemu-system-x86_64 \
-M q35 -cpu SandyBridge -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection -name sluo-test \
-uuid ed09fa10-6ffe-4811-a42f-0294afcb5a42 -rtc base=localtime,clock=host,driftfix=slew \
-device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pcie.0,addr=0x3 \
-chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait \
-device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 \
-chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait \
-device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port2 \
-drive file=/home/mikim/general/win2012_x64.raw,if=none,id=drive-system-disk,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 \
-device virtio-scsi-pci,bus=pcie.0,addr=0x4,id=scsi0 \
-device scsi-hd,bus=scsi0.0,drive=drive-system-disk,id=system-disk,bootindex=1 \
-netdev tap,id=hostnet0,vhost=off,script=/home/mikim/general/mgnt-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:0d:b1,bus=pcie.0,addr=0x5,bootindex=2 \
-device virtio-balloon-pci,id=ballooning,bus=pcie.0,addr=0x6 \
-drive file=/home/mikim/general/test_image.img,if=none,id=drive-data-disk,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK2 \
-device virtio-scsi-pci,bus=pcie.0,addr=0x7,id=scsi1 \
-device scsi-hd,bus=scsi1.0,drive=drive-data-disk,id=data-disk \
-readconfig /home/mikim/general/ich9-ehci-uhci.cfg \
-device usb-tablet,id=input0 \
-device usb-mouse,id=mouse0 \
-device usb-kbd,id=kbd0 \
-chardev spicevmc,name=usbredir,id=usbredirchardev1 \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0,debug=2 \
-drive file=/home/mikim/general/my-usb-storage.qcow2,if=none,id=storage0,media=disk,cache=none,format=qcow2 \
-device usb-storage,drive=storage0,id=usb-storage0 \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-serial unix:/tmp/ttyS0,server,nowait \
-qmp tcp:0:4444,server,nowait \
-k en-us \
-boot menu=on \
-vnc :1 \
-spice disable-ticketing,port=5931 \
-monitor stdio \
-bios /home/mikim/seabios/out/bios.bin \
Attached diffrun.txt file for diff between my run and bug running the guest.
Although, I have seen his screen capture and there is diff in device manager. please look at the "3" "HID-compliant mouse", I don't have it.
As I said we have the same cmd line so there shouldn't be diff, probably this is his Keyboard.
Created attachment 836930 [details]
diffrun.txt
(In reply to Miki Mishael from comment #5) > > Attached diffrun.txt file for diff between my run and bug running the guest. > > Although, I have seen his screen capture and there is diff in device > manager. please look at the "3" "HID-compliant mouse", I don't have it. > > As I said we have the same cmd line so there shouldn't be diff, probably > this is his Keyboard. Yes, re-tried it that also have no "3" "HID-compliant mouse" now with the same qemu-kvm command line as comment #0, it was very strange. Device Manager Mice and other pointing devices. * HID-compliant mouse * HID-compliant mouse * PS/2 Compatible Mouse And i tried to switch the three mice type which worked well in guest. (qemu) info mice Mouse #0: QEMU PS/2 Mouse Mouse #2: QEMU HID Mouse * Mouse #1: QEMU HID Tablet (absolute) Best Regards, sluo Closing according to comment #9 and comment #5 |