Bug 636163

Summary: RFE: qemu: support input-send-event for mouse input
Product: [Community] Virtualization Tools Reporter: Daniel Berrangé <berrange>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: akong, crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-03 16:14:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 636033    

Description Daniel Berrangé 2010-09-21 15:22:53 UTC
Description of problem:
Support injection of mouse + keyboard events to a VM, regardless of the graphical console configured (SPICE/VNC/SDL,etc)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2011-07-07 14:36:50 UTC
commit 973564094f29d63d610a92909252bdf21e27d2fb
Author: Lai Jiangshan <laijs.com>
Date:   Tue Jun 7 17:11:12 2011 +0800

    send-key: Defining the public API
    
    Add public virDomainSendKey() and enum libvirt_keycode_set
    for the @codeset.



Support for mouse events is still TBD

Comment 2 Cole Robinson 2016-03-22 22:20:48 UTC
qemu 2.6 will have the input-send-event command, which AFAICT can be used for mouse input

commit 6575ccddf4e7c2484bc14b10d5e89f57506c3953
Author: Gerd Hoffmann <kraxel>
Date:   Tue Jan 12 12:39:33 2016 +0100

    qapi: promote input-send-event to stable


Will probably require a new libvirt API, I doubt we can shoehorn this into virDomainSendKey

Comment 3 Cole Robinson 2017-01-24 18:46:05 UTC
*** Bug 1161184 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Berrangé 2020-11-03 16:14:38 UTC
Thank you for reporting this issue to the libvirt project. Unfortunately we have been unable to resolve this issue due to insufficient maintainer capacity and it will now be closed. This is not a reflection on the possible validity of the issue, merely the lack of resources to investigate and address it, for which we apologise. If you none the less feel the issue is still important, you may choose to report it again at the new project issue tracker https://gitlab.com/libvirt/libvirt/-/issues The project also welcomes contribution from anyone who believes they can provide a solution.