On Fri, Feb 08, 2019 at 10:28:38AM -0500, Michael S. Tsirkin wrote: > On Fri, Feb 08, 2019 at 12:23:55PM +0100, Marc-André Lureau wrote: > > Add a new virtio-input device, which connects to a vhost-user > > backend. > > > > vhost-user-input is similar to virtio-input-host, it is wrapped by > > vhost-user-input-pci. Instead of reading configuration directly from > > an input device / evdev, it reads it over vhost-user protocol with > > INPUT_GET_CONFIG message. Then vhost-user-backend takes care of > > interfacing the virtio device with the backend, for the queue & events > > processing. > > > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > > Gerd what's your take on this? Do we want this functionality?
Yes, I think it makes sense. Moving this to a separate process isn't that useful for virtio-input, other devices like virtio-gpu will benefit much more from it from a security and performance point of view. It still is useful for (a) testing the vhost-user infrastructure and (b) as relatively simple example. cheers, Gerd