Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The qemu usb tablet takes no effect when attaches 2 or more qemu usb mouses.
Version-Release number of selected component (if applicable):
Host kernel: 3.10.0-765.el7.x86_64
Qemu: qemu-kvm-rhev-2.10.0-6.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Start a guest with following cmd:
/usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1' \
-sandbox off \
-nodefaults \
-vga std \
-device nec-usb-xhci,id=usbtest,bus=pci.0,addr=0x3 \
-device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 \
-drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/rhel75-64-virtio-scsi.qcow2 \
-device scsi-hd,id=image1,drive=drive_image1 \
-device virtio-net-pci,mac=9a:e4:e5:e6:e7:e8,id=idOCesHt,vectors=4,netdev=id4lq6hH,bus=pci.0,addr=0x5 \
-netdev tap,id=id4lq6hH,vhost=on \
-m 8192 \
-smp 4,cores=2,threads=1,sockets=2 \
-device usb-tablet,id=usb-e1,bus=usbtest.0,port=1 \
-device usb-mouse,id=usb-d1,bus=usbtest.0,port=2 \
-device usb-mouse,id=usb-d2,bus=usbtest.0,port=3 \
-vnc :0 \
-rtc base=localtime,clock=host,driftfix=slew \
-boot menu=off,strict=off,order=cdn,once=c \
-enable-kvm \
-monitor stdio
2. After the guest boots up, check the effectiveness of the tablet.
Actual results:
The tablet takes no effect, i.e. there is double cursor.
Expected results:
No double cursor.
Additional info:
Both windows guest and linux guest have the problem, I have tried RHEL7.5/Win2016/Win10.64.
(In reply to Gu Nini from comment #0)
> Description of problem:
> The qemu usb tablet takes no effect when attaches 2 or more qemu usb mouses.
Not supported. And there is little reason to change that as it is not very useful to attach multiple mice to a virtual machine.
Some background: The pointer input events are routed to the most recently activated input device, so typically the ps/2 mouse is active at boot and qemu switches over to the usb tablet as soon as the guest loads the driver and starts talking to the device. In case multiple usb input devices are present it depends on the guests initialization order which of them ends up being active, so it could be a usb mouse instead of the usb tablet.
Description of problem: The qemu usb tablet takes no effect when attaches 2 or more qemu usb mouses. Version-Release number of selected component (if applicable): Host kernel: 3.10.0-765.el7.x86_64 Qemu: qemu-kvm-rhev-2.10.0-6.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Start a guest with following cmd: /usr/libexec/qemu-kvm \ -name 'avocado-vt-vm1' \ -sandbox off \ -nodefaults \ -vga std \ -device nec-usb-xhci,id=usbtest,bus=pci.0,addr=0x3 \ -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 \ -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/rhel75-64-virtio-scsi.qcow2 \ -device scsi-hd,id=image1,drive=drive_image1 \ -device virtio-net-pci,mac=9a:e4:e5:e6:e7:e8,id=idOCesHt,vectors=4,netdev=id4lq6hH,bus=pci.0,addr=0x5 \ -netdev tap,id=id4lq6hH,vhost=on \ -m 8192 \ -smp 4,cores=2,threads=1,sockets=2 \ -device usb-tablet,id=usb-e1,bus=usbtest.0,port=1 \ -device usb-mouse,id=usb-d1,bus=usbtest.0,port=2 \ -device usb-mouse,id=usb-d2,bus=usbtest.0,port=3 \ -vnc :0 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot menu=off,strict=off,order=cdn,once=c \ -enable-kvm \ -monitor stdio 2. After the guest boots up, check the effectiveness of the tablet. Actual results: The tablet takes no effect, i.e. there is double cursor. Expected results: No double cursor. Additional info: Both windows guest and linux guest have the problem, I have tried RHEL7.5/Win2016/Win10.64.