Bug 1479623
| Summary: | Scroll wheel of virtio-mouse doesn't work for rhel7.4 guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Guo, Zhiyi <zhguo> |
| Component: | qemu-kvm-rhev | Assignee: | Marc-Andre Lureau <marcandre.lureau> |
| Status: | CLOSED ERRATA | QA Contact: | Guo, Zhiyi <zhguo> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.4 | CC: | chayang, jinzhao, juzhang, knoel, kraxel, marcandre.lureau, michen, mrezanin, virt-maint, xuma |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-rhev-2.12.0-1.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-01 11:01:10 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: | |||
The same issue on the ppc platform. Fixed in commit f4924974c7c72560f68ab298ac25a525a28a2124 Test against rhel 7.5 host & guest with kernel 3.10.0-768.el7.x86_64 and qemu-kvm-rhev-2.10.0-5.el7.x86_64, wheel buttons are missing for both virtio-mouse-pci and virtio-tablet-pci. (In reply to Guo, Zhiyi from comment #5) > Test against rhel 7.5 host & guest with kernel 3.10.0-768.el7.x86_64 and > qemu-kvm-rhev-2.10.0-5.el7.x86_64, > > wheel buttons are missing for both virtio-mouse-pci and virtio-tablet-pci. The fixed will be in 2.11, and will require wheel-axis=true with machine < 2.11. I don't know if it's worth to backport. Should we move it to 7.6? Gerd, what do you think? > The fixed will be in 2.11, and will require wheel-axis=true with machine <
> 2.11. I don't know if it's worth to backport. Should we move it to 7.6?
> Gerd, what do you think?
Defer to 7.6 is fine I think.
Fixed in commit f4924974c7c72560f68ab298ac25a525a28a2124 upstream Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3443 |
Description of problem: Scroll wheel of virtio-mouse doesn't work for rhel7.4 guest Version-Release number of selected component (if applicable): 3.10.0-693.el7.x86_64(host & guest) qemu-kvm-rhev-2.9.0-16.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Boot a guest with virtio-mouse using qemu cli: /usr/libexec/qemu-kvm -name virtio-vga -m 2G -machine pc,accel=kvm,vmport=off \ -cpu Skylake-Client\ -smp 1 \ -serial unix:/tmp/console1,server,nowait \ -monitor stdio \ -device VGA,id=vga1 \ -drive file=rhelsp4.qcow2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=04 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0, id=scsi-disk0,bootindex=1 \ -netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d8,id=idlbq7eA,netdev=idin WyYp \ -vnc :0 \ -device ich9-usb-uhci6 \ -device virtio-keyboard-pci,id=kbd-bus -device virtio-mouse-pci,id=mouse-bus \ 2.In guest, test virtio-mouse with xinput. In my case, I list input devices by: #xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ QEMU Virtio Mouse id=8 [slave pointer (2)] ⎜ ↳ ImExPS/2 Generic Explorer Mouse id=10 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ QEMU Virtio Keyboard id=7 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)] And test virtio mouse by: #xinput test 8 xinput will print the events recevied from virtio mouse, then scroll the scroll wheel of mouse 3. Actual results: Nothing prompt after scrolling the scroll wheel of mouse Expected results: Events of scroll wheel should be prompted Additional info: 1) Both vnc and spice has this issue. 2) Test against ps2/vmmouse/usb-kbd/spice vdagent tablet, all of them can generate scroll events during test. 3) No such issue happen in windows 10 guest with virtio-win driver virtio-win-1.9.3.iso, scroll wheel works correctly. 4) Test against upstream stable qemu2.6.2, also has this issue, so this is not a regression of qemu-kvm-rhev.