vhost-user-rng: Add vhost-user-rng implementation
commit821d28b88f850e5fbc66ee62bdd155eb2d474a29
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 12 Oct 2021 20:59:02 +0000 (12 14:59 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2021 08:37:55 +0000 (20 04:37 -0400)
tree05d9a58b5475b64acfc20c5d2cda7452660c99d3
parent6889eb2d431ae962e3e083b57bff47cd573cb1c4
vhost-user-rng: Add vhost-user-rng implementation

Introduce a random number generator (RNG) backend that communicates
with a vhost-user server to retrieve entropy.  That way other VMM
that comply with the vhost user protocl can use the same vhost-user
daemon without having to write yet another RNG driver.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Message-Id: <20211012205904.4106769-2-mathieu.poirier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/Kconfig
hw/virtio/meson.build
hw/virtio/vhost-user-rng.c [new file with mode: 0644]
include/hw/virtio/vhost-user-rng.h [new file with mode: 0644]