On Fri, Feb 08, 2019 at 12:23:56PM +0100, Marc-André Lureau wrote:
> 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

> +static int unix_sock_new(char *path)
> +{

Move to the library?  This looks like something other backends will need
too.

cheers,
  Gerd


Reply via email to