OSDN Git Service

contrib: add vhost-user-input
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 14 May 2019 10:41:26 +0000 (12:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 22 May 2019 05:16:58 +0000 (07:16 +0200)
commit06914c97d3ade856371c9a59cbe6a9b13422471f
tree4ea9402b07ce38ef0d18506df5c5884a1dabd9ad
parent7fa9f0388ca7270ae4267f305a2fa384c4252170
contrib: add vhost-user-input

Add a vhost-user input backend example, based on virtio-input-host
device. It takes an evdev path as argument, and can be associated with
a vhost-user-input device via a UNIX socket:

$ vhost-user-input -p /dev/input/eventX -s /tmp/vui.sock

$ qemu ... -chardev socket,id=vuic,path=/tmp/vui.sock
  -device vhost-user-input-pci,chardev=vuic

This example is intentionally not included in $TOOLS, and not
installed by default.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190514104126.6294-4-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
MAINTAINERS
Makefile
Makefile.objs
contrib/vhost-user-input/Makefile.objs [new file with mode: 0644]
contrib/vhost-user-input/main.c [new file with mode: 0644]