crosvm/seccomp/x86_64
Jorge E. Moreira dffec507fb 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>
2019-02-01 06:21:08 -08:00
..
9p_device.policy crosvm: add openat to seccomp 2018-10-21 05:25:01 -07:00
9s.policy crosvm: add getpid and prlimit to seccomp 2018-10-23 02:55:29 -07:00
balloon_device.policy balloon: Implement device policy 2018-07-27 15:29:07 -07:00
block_device.policy devices: block: fix seccomp failures from free() 2018-10-31 12:42:43 -07:00
cras_audio_device.policy linux: Add ac97 device with CRAS backend 2019-01-27 10:43:26 -08:00
gpu_device.policy devices: gpu: dup stdout to stderr to allow virglrenderer logging 2019-01-31 18:18:44 -08:00
input_device.policy Adds Virtio-Input device simulation 2019-02-01 06:21:08 -08:00
net_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
null_audio_device.policy linux: add ac97 to the pci bus 2019-01-26 10:43:21 -08:00
rng_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
tpm_device.policy tpm: Virtio tpm device 2019-01-24 07:43:30 -08:00
vhost_net_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
vhost_vsock_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
wl_device.policy seccomp: whitelist connect for wl_device 2018-09-20 15:00:24 -07:00