qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] virtio: Add vhost-user based RNG
@ 2021-09-27 22:13 Mathieu Poirier
  2021-09-27 22:13 ` [PATCH v4 1/3] vhost-user-rng: Add vhost-user-rng implementation Mathieu Poirier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mathieu Poirier @ 2021-09-27 22:13 UTC (permalink / raw)
  To: mst; +Cc: alex.bennee, qemu-devel

This set implements a random number generator (RNG) device that follows
the vhost-user protocol. 

The main difference between V3 is the absence of the vhost-user daemon
implemenation.  It was dropped to favour the rust implementation
currently being considered under the vhost-device crate[1] of the
rust-vmm repository[1].

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

Thanks,
Mathieu

[1]. https://github.com/rust-vmm/vhost-device/pull/29

Changes for V4:
1. Addressed merge conflicts
2. Dropped error path after call to g_new0()
3. Changed #define in vhost-user-rng-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 based RNG implementation

 docs/system/devices/vhost-user-rng.rst |  39 ++++
 hw/virtio/Kconfig                      |   5 +
 hw/virtio/meson.build                  |   2 +
 hw/virtio/vhost-user-rng-pci.c         |  79 +++++++
 hw/virtio/vhost-user-rng.c             | 289 +++++++++++++++++++++++++
 include/hw/virtio/vhost-user-rng.h     |  33 +++
 6 files changed, 447 insertions(+)
 create mode 100644 docs/system/devices/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

-- 
2.25.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-12 21:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 22:13 [PATCH v4 0/3] virtio: Add vhost-user based RNG Mathieu Poirier
2021-09-27 22:13 ` [PATCH v4 1/3] vhost-user-rng: Add vhost-user-rng implementation Mathieu Poirier
2021-09-27 22:13 ` [PATCH v4 2/3] vhost-user-rng-pci: Add vhost-user-rng-pci implementation Mathieu Poirier
2021-09-27 22:13 ` [PATCH v4 3/3] docs: Add documentation for vhost based RNG implementation Mathieu Poirier
2021-10-05 15:24   ` Michael S. Tsirkin
2021-10-12 21:18     ` Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).