diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2021-10-12 14:59:02 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-20 04:37:55 -0400 |
commit | 821d28b88f850e5fbc66ee62bdd155eb2d474a29 (patch) | |
tree | 05d9a58b5475b64acfc20c5d2cda7452660c99d3 /hw/virtio/Kconfig | |
parent | 6889eb2d431ae962e3e083b57bff47cd573cb1c4 (diff) | |
download | qemu-821d28b88f850e5fbc66ee62bdd155eb2d474a29.zip qemu-821d28b88f850e5fbc66ee62bdd155eb2d474a29.tar.gz qemu-821d28b88f850e5fbc66ee62bdd155eb2d474a29.tar.bz2 |
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>
Diffstat (limited to 'hw/virtio/Kconfig')
-rw-r--r-- | hw/virtio/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig index 35ab45e..c144d42 100644 --- a/hw/virtio/Kconfig +++ b/hw/virtio/Kconfig @@ -63,3 +63,8 @@ config VHOST_USER_I2C bool default y depends on VIRTIO && VHOST_USER + +config VHOST_USER_RNG + bool + default y + depends on VIRTIO && VHOST_USER |