Re: [Stratos-dev] [PATCH 0/5] virtio: Add vhost-user based RNG service

2021-06-07 Thread Mathieu Poirier
On Fri, 4 Jun 2021 at 07:36, Srivatsa Vaddagiri  wrote:
>
> * Mathieu Poirier via Stratos-dev  
> [2021-06-01 20:03:14]:
>
> > Hi all,
> >
> > This sets adds a vhost-user based random number generator (RNG),
> > similar to what has been done for i2c and virtiofsd.  In fact
> > the implementation for vhost-user-rng and vhost-user-rng-pci
> > follow what was done for vhost-user-i2c.
>
> Is there a Rust language based equivalent that is planned as well (just like
> what was done for virtio-i2c)?
>

Yes, that part is in the works.

> - vatsa
>
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation



Re: [Stratos-dev] [PATCH 0/5] virtio: Add vhost-user based RNG service

2021-06-04 Thread Srivatsa Vaddagiri
* Mathieu Poirier via Stratos-dev  [2021-06-01 
20:03:14]:

> Hi all,
> 
> This sets adds a vhost-user based random number generator (RNG),
> similar to what has been done for i2c and virtiofsd.  In fact
> the implementation for vhost-user-rng and vhost-user-rng-pci
> follow what was done for vhost-user-i2c.

Is there a Rust language based equivalent that is planned as well (just like
what was done for virtio-i2c)?

- vatsa

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation



[PATCH 0/5] virtio: Add vhost-user based RNG service

2021-06-01 Thread Mathieu Poirier
Hi all,

This sets adds a vhost-user based random number generator (RNG),
similar to what has been done for i2c and virtiofsd.  In fact
the implementation for vhost-user-rng and vhost-user-rng-pci
follow what was done for vhost-user-i2c.

Applies cleanly to git://git.qemu.org/qemu.git master (52848929b70d).

Regards,
Mathieu

Mathieu Poirier (5):
  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
  MAINTAINERS: Add maintainer for vhost-user RNG implementation

 MAINTAINERS  |   9 +
 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, 922 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