[PATCH] virtio: rng: Check notifier helpers for VIRTIO_CONFIG_IRQ_IDX

2023-10-25 Thread Mathieu Poirier
IRTIO_CONFIG_IRQ_IDX") Signed-off-by: Mathieu Poirier --- hw/virtio/vhost-user-rng.c | 16 1 file changed, 16 insertions(+) diff --git a/hw/virtio/vhost-user-rng.c b/hw/virtio/vhost-user-rng.c index 201a39e220c5..62142b717f73 100644 --- a/hw/virtio/vhost-user-rng.c +++ b/h

Re: [PATCH v4 3/3] docs: Add documentation for vhost based RNG implementation

2021-10-12 Thread Mathieu Poirier
On Tue, 5 Oct 2021 at 09:24, Michael S. Tsirkin wrote: > > On Mon, Sep 27, 2021 at 04:13:59PM -0600, Mathieu Poirier wrote: > > Add description and example for the vhost-user based RNG implementation. > > > > Signed-off-by: Mathieu Poirier > > Causes a build fa

[PATCH v5 3/3] docs: Add documentation for vhost based RNG implementation

2021-10-12 Thread Mathieu Poirier
Add description and example for the vhost-user based RNG implementation. Signed-off-by: Mathieu Poirier --- docs/system/device-emulation.rst | 1 + docs/system/devices/vhost-user-rng.rst | 39 ++ 2 files changed, 40 insertions(+) create mode 100644 docs/system

[PATCH v5 2/3] vhost-user-rng-pci: Add vhost-user-rng-pci implementation

2021-10-12 Thread Mathieu Poirier
This patch provides a PCI bus interface to the vhost-user-rng backend. Reviewed-by: Alex Bennée Signed-off-by: Mathieu Poirier --- hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng-pci.c | 79 ++ 2 files changed, 80 insertions(+) create mode

[PATCH v5 0/3] virtio: Add vhost-user based RNG

2021-10-12 Thread Mathieu Poirier
[1]. https://github.com/rust-vmm/vhost-device/pull/29 Mathieu Poirier (3): vhost-user-rng: Add vhost-user-rng implementation vhost-user-rng-pci: Add vhost-user-rng-pci implementation docs: Add documentation for vhost based RNG implementation docs/system/device-emulation.rst | 1

[PATCH v5 1/3] vhost-user-rng: Add vhost-user-rng implementation

2021-10-12 Thread Mathieu Poirier
: Mathieu Poirier --- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng.c | 289 + include/hw/virtio/vhost-user-rng.h | 33 4 files changed, 328 insertions(+) create mode 100644 hw/virtio/vhost

[PATCH v4 1/3] vhost-user-rng: Add vhost-user-rng implementation

2021-09-27 Thread Mathieu Poirier
: Mathieu Poirier --- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng.c | 289 + include/hw/virtio/vhost-user-rng.h | 33 4 files changed, 328 insertions(+) create mode 100644 hw/virtio/vhost

[PATCH v4 0/3] virtio: Add vhost-user based RNG

2021-09-27 Thread Mathieu Poirier
-pci.c 4. Dropped vhost-user-daemon implementation 5. Modified documentation to reflect the above (4) 6. Added Alex's RB tags. Mathieu Poirier (3): vhost-user-rng: Add vhost-user-rng implementation vhost-user-rng-pci: Add vhost-user-rng-pci implementation docs: Add documentation for vhost

[PATCH v4 3/3] docs: Add documentation for vhost based RNG implementation

2021-09-27 Thread Mathieu Poirier
Add description and example for the vhost-user based RNG implementation. Signed-off-by: Mathieu Poirier --- docs/system/devices/vhost-user-rng.rst | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 docs/system/devices/vhost-user-rng.rst diff --git a/docs

[PATCH v4 2/3] vhost-user-rng-pci: Add vhost-user-rng-pci implementation

2021-09-27 Thread Mathieu Poirier
This patch provides a PCI bus interface to the vhost-user-rng backend. Reviewed-by: Alex Bennée Signed-off-by: Mathieu Poirier --- hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng-pci.c | 79 ++ 2 files changed, 80 insertions(+) create mode

Re: [PATCH v3 3/4] vhost-user-rng: backend: Add RNG vhost-user daemon implementation

2021-07-22 Thread Mathieu Poirier
On Wed, Jul 21, 2021 at 09:14:31PM +0100, Alex Bennée wrote: > > Mathieu Poirier writes: > > > This patch provides the vhost-user backend implementation to work > > in tandem with the vhost-user-rng implementation of the QEMU VMM. > > > > It uses the vhost-user

Re: [PATCH v3 1/4] vhost-user-rng: Add vhost-user-rng implementation

2021-07-22 Thread Mathieu Poirier
Hi Alex, On Wed, Jul 21, 2021 at 09:52:50AM +0100, Alex Bennée wrote: > > Mathieu Poirier writes: > > > Following in the footsteps of what whas done for vhost-user-i2c > > and virtiofsd, introduce a random number generator (RNG) backend > > that communicates

[PATCH v3 3/4] vhost-user-rng: backend: Add RNG vhost-user daemon implementation

2021-07-09 Thread Mathieu Poirier
This patch provides the vhost-user backend implementation to work in tandem with the vhost-user-rng implementation of the QEMU VMM. It uses the vhost-user API so that other VMM can re-use the interface without having to write the driver again. Signed-off-by: Mathieu Poirier --- tools

[PATCH v3 1/4] vhost-user-rng: Add vhost-user-rng implementation

2021-07-09 Thread Mathieu Poirier
driver. Signed-off-by: Mathieu Poirier --- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng.c | 294 + include/hw/virtio/vhost-user-rng.h | 33 4 files changed, 333 insertions(+) create mode

[PATCH v3 2/4] vhost-user-rng-pci: Add vhost-user-rng-pci implementation

2021-07-09 Thread Mathieu Poirier
This patch provides a PCI bus interface to the vhost-user-rng backed. The implentation is similar to what was done for vhost-user-i2c-pci and vhost-user-fs-pci. Signed-off-by: Mathieu Poirier --- hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng-pci.c | 79

[PATCH v3 4/4] docs: Add documentation for vhost based RNG implementation

2021-07-09 Thread Mathieu Poirier
Add description and example for the vhost-user based RNG implementation. Tailored on Viresh Kumar's vhost-user-i2c documentation. Signed-off-by: Mathieu Poirier --- docs/tools/index.rst | 1 + docs/tools/vhost-user-rng.rst | 74 +++ 2 files change

[PATCH v3 0/4] virtio: Add vhost-user based RNG

2021-07-09 Thread Mathieu Poirier
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). Thanks, Mathieu Mathieu Poirier

Re: [PULL 13/13] MAINTAINERS: Add maintainer for vhost-user RNG implementation

2021-07-08 Thread Mathieu Poirier
Hi Michael, On Wed, 7 Jul 2021 at 09:03, Michael S. Tsirkin wrote: > > From: Mathieu Poirier > > This patch adds entry for the vhost-user-rng related files. > > Signed-off-by: Mathieu Poirier > Message-Id: <20210614202842.581640-6-mathieu.poir...@linaro.org> > R

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

2021-07-06 Thread Mathieu Poirier
Good day Michael, On Fri, Jul 02, 2021 at 12:27:08PM -0400, Michael S. Tsirkin wrote: > On Mon, Jun 14, 2021 at 02:28:37PM -0600, Mathieu Poirier wrote: > > This sets adds a vhost-user based random number generator (RNG), > > similar to what has been done for i2c and virt

[PATCH v2 5/5] MAINTAINERS: Add maintainer for vhost-user RNG implementation

2021-06-14 Thread Mathieu Poirier
This patch adds entry for the vhost-user-rng related files. Signed-off-by: Mathieu Poirier --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 36055f14c594..4fedca72c183 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1951,6 +1951,15 @@ F

[PATCH v2 3/5] vhost-user-rng: backend: Add RNG vhost-user daemon implementation

2021-06-14 Thread Mathieu Poirier
This patch provides the vhost-user backend implementation to work in tandem with the vhost-user-rng implementation of the QEMU VMM. It uses the vhost-user API so that other VMM can re-use the interface without having to write the driver again. Signed-off-by: Mathieu Poirier --- tools

[PATCH v2 4/5] docs: Add documentation for vhost based RNG implementation

2021-06-14 Thread Mathieu Poirier
Add description and example for the vhost-user based RNG implementation. Tailored on Viresh Kumar's vhost-user-i2c documentation. Signed-off-by: Mathieu Poirier --- docs/tools/vhost-user-rng.rst | 74 +++ 1 file changed, 74 insertions(+) create mode 100644

[PATCH v2 2/5] vhost-user-rng-pci: Add vhost-user-rng-pci implementation

2021-06-14 Thread Mathieu Poirier
This patch provides a PCI bus interface to the vhost-user-rng backed. The implentation is similar to what was done for vhost-user-i2c-pci and vhost-user-fs-pci. Signed-off-by: Mathieu Poirier --- hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng-pci.c | 79

[PATCH v2 1/5] vhost-user-rng: Add vhost-user-rng implementation

2021-06-14 Thread Mathieu Poirier
driver. Signed-off-by: Mathieu Poirier --- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng.c | 294 + include/hw/virtio/vhost-user-rng.h | 33 4 files changed, 333 insertions(+) create mode

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

2021-06-14 Thread Mathieu Poirier
: - Replaced "antropy" for "entropy" (Joakim). 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

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 virtio

Re: [Stratos-dev] [PATCH 3/5] vhost-user-rng: backend: Add RNG vhost-user daemon implementation

2021-06-02 Thread Mathieu Poirier
On Tue, 1 Jun 2021 at 15:01, Joakim Bech wrote: > > On Tue, Jun 01, 2021 at 08:03:20PM +, Mathieu Poirier via Stratos-dev > wrote: > > This patch provides the vhost-user backend implementation to work > > in tandem with the vhost-user-rng implementation of the QEMU VMM

[PATCH 3/5] vhost-user-rng: backend: Add RNG vhost-user daemon implementation

2021-06-01 Thread Mathieu Poirier
This patch provides the vhost-user backend implementation to work in tandem with the vhost-user-rng implementation of the QEMU VMM. It uses the vhost-user API so that other VMM can re-use the interface without having to write the driver again. Signed-off-by: Mathieu Poirier --- tools

[PATCH 4/5] docs: Add documentation for vhost based RNG implementation

2021-06-01 Thread Mathieu Poirier
Add description and example for the vhost-user based RNG implementation. Tailored on Viresh Kumar's vhost-user-i2c documentation. Signed-off-by: Mathieu Poirier --- docs/tools/vhost-user-rng.rst | 74 +++ 1 file changed, 74 insertions(+) create mode 100644

[PATCH 5/5] MAINTAINERS: Add maintainer for vhost-user RNG implementation

2021-06-01 Thread Mathieu Poirier
This patch adds entry for the vhost-user-rng related files. Signed-off-by: Mathieu Poirier --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5f55404f2fae..6a0d61443571 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1937,6 +1937,15 @@ F

[PATCH 2/5] vhost-user-rng-pci: Add vhost-user-rng-pci implementation

2021-06-01 Thread Mathieu Poirier
This patch provides a PCI bus interface to the vhost-user-rng backed. The implentation is similar to what was done for vhost-user-i2c-pci and vhost-user-fs-pci. Signed-off-by: Mathieu Poirier --- hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng-pci.c | 79

[PATCH 1/5] vhost-user-rng: Add vhost-user-rng implementation

2021-06-01 Thread Mathieu Poirier
driver. Signed-off-by: Mathieu Poirier --- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 1 + hw/virtio/vhost-user-rng.c | 294 + include/hw/virtio/vhost-user-rng.h | 33 4 files changed, 333 insertions(+) create mode

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

2021-06-01 Thread Mathieu Poirier
(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