[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 11/13] Add vhost-user-input-pci
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3 11/13] Add vhost-user-input-pci |
Date: |
Thu, 21 Feb 2019 10:25:10 +0100 |
User-agent: |
NeoMutt/20180716 |
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 <address@hidden>
>
> 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
- [Qemu-devel] [PATCH v3 05/13] vhost-user: wrap some read/write with retry handling, (continued)
- [Qemu-devel] [PATCH v3 05/13] vhost-user: wrap some read/write with retry handling, Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 07/13] vhost-user: split vhost_user_read(), Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 06/13] Add vhost-user-backend, Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 08/13] vhost-user: add vhost_user_input_get_config(), Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 09/13] libvhost-user-glib: export vug_source_new(), Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 10/13] libvhost-user: add vu_queue_unpop(), Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 11/13] Add vhost-user-input-pci, Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 12/13] contrib: add vhost-user-input, Marc-André Lureau, 2019/02/08
- [Qemu-devel] [PATCH v3 13/13] RFC: add explicit can_migrate to vhost_user_backend_dev_init(), Marc-André Lureau, 2019/02/08
- Re: [Qemu-devel] [PATCH v3 00/13] vhost-user-backend & vhost-user-input, Michael S. Tsirkin, 2019/02/21