2 * Vhost-user RNG virtio device
4 * Copyright (c) 2021 Mathieu Poirier <mathieu.poirier@linaro.org>
6 * SPDX-License-Identifier: GPL-2.0-or-later
9 #ifndef QEMU_VHOST_USER_RNG_H
10 #define QEMU_VHOST_USER_RNG_H
12 #include "hw/virtio/virtio.h"
13 #include "hw/virtio/vhost.h"
14 #include "hw/virtio/vhost-user.h"
15 #include "chardev/char-fe.h"
17 #define TYPE_VHOST_USER_RNG "vhost-user-rng"
18 OBJECT_DECLARE_SIMPLE_TYPE(VHostUserRNG
, VHOST_USER_RNG
)
24 struct vhost_virtqueue
*vhost_vq
;
25 struct vhost_dev vhost_dev
;
26 VhostUserState vhost_user
;
33 #endif /* QEMU_VHOST_USER_RNG_H */