hw/virtio: derive vhost-user-rng from vhost-user-base
commit233412bf7a2b0349aa3b80ab7217e741c8acef3f
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jan 2024 21:09:37 +0000 (4 21:09 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:01:42 +0000 (14 06:01 -0500)
treeba3eb4baaa43ce57dbd4d9cd2c7eaa99848458da
parent64a312a2737e3aab97f103b76f8e76a97770e670
hw/virtio: derive vhost-user-rng from vhost-user-base

Now we can take advantage of our new base class and make
vhost-user-rng a much simpler boilerplate wrapper. Also as this
doesn't require any target specific hacks we only need to build the
stubs once.

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240104210945.1223134-4-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/meson.build
hw/virtio/vhost-user-rng.c
include/hw/virtio/vhost-user-rng.h