[Qemu-devel] [PATCH v2 0/6] Add vhost-user-input

Marc-André Lureau posted 6 patches 4 years, 12 months ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190503130034.24916-1-marcandre.lureau@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
There is a newer version of this series
include/hw/virtio/virtio-input.h       |  14 +
include/sysemu/vhost-user-backend.h    |  57 ++++
backends/vhost-user.c                  | 209 +++++++++++++
contrib/libvhost-user/libvhost-user.c  |  10 +-
contrib/vhost-user-input/main.c        | 393 +++++++++++++++++++++++++
hw/input/vhost-user-input.c            | 129 ++++++++
hw/virtio/vhost-user-input-pci.c       |  53 ++++
util/qemu-sockets.c                    |  18 +-
MAINTAINERS                            |   4 +
Makefile                               |  11 +
Makefile.objs                          |   1 +
backends/Makefile.objs                 |   2 +
contrib/vhost-user-input/Makefile.objs |   1 +
hw/input/Kconfig                       |   5 +
hw/input/Makefile.objs                 |   1 +
hw/virtio/Makefile.objs                |   1 +
16 files changed, 890 insertions(+), 19 deletions(-)
create mode 100644 include/sysemu/vhost-user-backend.h
create mode 100644 backends/vhost-user.c
create mode 100644 contrib/vhost-user-input/main.c
create mode 100644 hw/input/vhost-user-input.c
create mode 100644 hw/virtio/vhost-user-input-pci.c
create mode 100644 contrib/vhost-user-input/Makefile.objs
[Qemu-devel] [PATCH v2 0/6] Add vhost-user-input
Posted by Marc-André Lureau 4 years, 12 months ago
Hi,

This is the vhost-user-input part of "[PATCH v6 00/11] vhost-user for input & GPU".

v2:
- build fixes

v1: (changes since original v6 series)
- add "libvhost-user: fix -Waddress-of-packed-member" & "util: simplify unix_listen()"
- use unix_listen()
- build vhost-user-input by default (when applicable)

Marc-André Lureau (6):
  libvhost-user: fix -Waddress-of-packed-member
  libvhost-user: add PROTOCOL_F_CONFIG if {set,get}_config
  Add vhost-user-backend
  Add vhost-user-input-pci
  util: simplify unix_listen()
  contrib: add vhost-user-input

 include/hw/virtio/virtio-input.h       |  14 +
 include/sysemu/vhost-user-backend.h    |  57 ++++
 backends/vhost-user.c                  | 209 +++++++++++++
 contrib/libvhost-user/libvhost-user.c  |  10 +-
 contrib/vhost-user-input/main.c        | 393 +++++++++++++++++++++++++
 hw/input/vhost-user-input.c            | 129 ++++++++
 hw/virtio/vhost-user-input-pci.c       |  53 ++++
 util/qemu-sockets.c                    |  18 +-
 MAINTAINERS                            |   4 +
 Makefile                               |  11 +
 Makefile.objs                          |   1 +
 backends/Makefile.objs                 |   2 +
 contrib/vhost-user-input/Makefile.objs |   1 +
 hw/input/Kconfig                       |   5 +
 hw/input/Makefile.objs                 |   1 +
 hw/virtio/Makefile.objs                |   1 +
 16 files changed, 890 insertions(+), 19 deletions(-)
 create mode 100644 include/sysemu/vhost-user-backend.h
 create mode 100644 backends/vhost-user.c
 create mode 100644 contrib/vhost-user-input/main.c
 create mode 100644 hw/input/vhost-user-input.c
 create mode 100644 hw/virtio/vhost-user-input-pci.c
 create mode 100644 contrib/vhost-user-input/Makefile.objs

-- 
2.21.0.777.g83232e3864


Re: [Qemu-devel] [PATCH v2 0/6] Add vhost-user-input
Posted by Michael S. Tsirkin 4 years, 11 months ago
On Fri, May 03, 2019 at 03:00:28PM +0200, Marc-André Lureau wrote:
> Hi,
> 
> This is the vhost-user-input part of "[PATCH v6 00/11] vhost-user for input & GPU".
> 
> v2:
> - build fixes
> 
> v1: (changes since original v6 series)
> - add "libvhost-user: fix -Waddress-of-packed-member" & "util: simplify unix_listen()"
> - use unix_listen()
> - build vhost-user-input by default (when applicable)
> 
> Marc-André Lureau (6):
>   libvhost-user: fix -Waddress-of-packed-member
>   libvhost-user: add PROTOCOL_F_CONFIG if {set,get}_config
>   Add vhost-user-backend
>   Add vhost-user-input-pci
>   util: simplify unix_listen()
>   contrib: add vhost-user-input

OK looks sane.

Gerd, IIUC you are going to merge this right?
If so

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

thanks!


>  include/sysemu/vhost-user-backend.h    |  57 ++++
>  backends/vhost-user.c                  | 209 +++++++++++++
>  contrib/libvhost-user/libvhost-user.c  |  10 +-
>  contrib/vhost-user-input/main.c        | 393 +++++++++++++++++++++++++
>  hw/input/vhost-user-input.c            | 129 ++++++++
>  hw/virtio/vhost-user-input-pci.c       |  53 ++++
>  util/qemu-sockets.c                    |  18 +-
>  MAINTAINERS                            |   4 +
>  Makefile                               |  11 +
>  Makefile.objs                          |   1 +
>  backends/Makefile.objs                 |   2 +
>  contrib/vhost-user-input/Makefile.objs |   1 +
>  hw/input/Kconfig                       |   5 +
>  hw/input/Makefile.objs                 |   1 +
>  hw/virtio/Makefile.objs                |   1 +
>  16 files changed, 890 insertions(+), 19 deletions(-)
>  create mode 100644 include/sysemu/vhost-user-backend.h
>  create mode 100644 backends/vhost-user.c
>  create mode 100644 contrib/vhost-user-input/main.c
>  create mode 100644 hw/input/vhost-user-input.c
>  create mode 100644 hw/virtio/vhost-user-input-pci.c
>  create mode 100644 contrib/vhost-user-input/Makefile.objs
> 
> -- 
> 2.21.0.777.g83232e3864