diff options
author | Jorge E. Moreira <jemoreira@google.com> | 2019-01-14 18:44:49 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-01 06:21:08 -0800 |
commit | dffec507fba14da82b914c9c195df324360e9e28 (patch) | |
tree | 36906570c97e639a495beb38bb8ac1f8cd6043f2 /x86_64 | |
parent | 5329be3634547fe383aff7981854484088e6a622 (diff) | |
download | crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar.gz crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar.bz2 crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar.lz crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar.xz crosvm-dffec507fba14da82b914c9c195df324360e9e28.tar.zst crosvm-dffec507fba14da82b914c9c195df324360e9e28.zip |
Adds Virtio-Input device simulation
This allows decoupling input from the wayland socket while using a standard virtio device for it. The proposed virtio input spec can be found at https://www.kraxel.org/virtio/virtio-v1.0-cs03-virtio-input.pdf, it has already been implemented in qemu and (guest) kernel support exists since version 4.1. This change adds the following options to crosvm: --evdev: Grabs a host device and passes it through to the guest --<device>: Creates a default configuration for <device>, receives the input events from a unix socket. <device> can be 'keyboard', 'mouse' or 'trackpad'. Bug=chromium:921271 Test=booted on x86 linux and manually tried virtio-input devices Change-Id: I8455b72c53ea2f431009ee8140799b0797775e76 Reviewed-on: https://chromium-review.googlesource.com/1412355 Commit-Ready: Jorge Moreira Broche <jemoreira@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'x86_64')
0 files changed, 0 insertions, 0 deletions