On Fri, Jul 09, 2021 at 06:59:25PM -0600, Mathieu Poirier wrote:
> This sets adds a vhost-user based random number generator (RNG),
> similar to what has been done for i2c and virtiofsd, with the
> implementation following the patterns already set forth in those.
>
> Applies cleanly to git://git.qemu.org/qemu.git master(05de778b5b8a).
There were several meson-related issues related to this patchset,
so I dropped it from the pull request for now.
Please work to resolve, and re-submit, preferably after the release.
> Thanks,
> Mathieu
>
> Mathieu Poirier (4):
> vhost-user-rng: Add vhost-user-rng implementation
> vhost-user-rng-pci: Add vhost-user-rng-pci implementation
> vhost-user-rng: backend: Add RNG vhost-user daemon implementation
> docs: Add documentation for vhost based RNG implementation
>
> ----
> New for V3:
> - Rebased to latest master branch.
> - Fixed documentation warning.
> - Updated call to vhost_dev_init() to match new signature.
> - Dropped MAINTAINERS patch since it was already applied.
>
> docs/tools/index.rst | 1 +
> docs/tools/vhost-user-rng.rst | 74 +++++
> hw/virtio/Kconfig | 5 +
> hw/virtio/meson.build | 2 +
> hw/virtio/vhost-user-rng-pci.c | 79 +++++
> hw/virtio/vhost-user-rng.c | 294 +++++++++++++++++
> include/hw/virtio/vhost-user-rng.h | 33 ++
> tools/meson.build | 8 +
> tools/vhost-user-rng/50-qemu-rng.json.in | 5 +
> tools/vhost-user-rng/main.c | 403 +++++++++++++++++++++++
> tools/vhost-user-rng/meson.build | 10 +
> 11 files changed, 914 insertions(+)
> create mode 100644 docs/tools/vhost-user-rng.rst
> create mode 100644 hw/virtio/vhost-user-rng-pci.c
> create mode 100644 hw/virtio/vhost-user-rng.c
> create mode 100644 include/hw/virtio/vhost-user-rng.h
> create mode 100644 tools/vhost-user-rng/50-qemu-rng.json.in
> create mode 100644 tools/vhost-user-rng/main.c
> create mode 100644 tools/vhost-user-rng/meson.build
>
> --
> 2.25.1