1 /* 2 * Vhost-user RNG virtio device 3 * 4 * Copyright (c) 2021 Mathieu Poirier <mathieu.poirier@linaro.org> 5 * 6 * SPDX-License-Identifier: GPL-2.0-or-later 7 */ 8 9 #ifndef QEMU_VHOST_USER_RNG_H 10 #define QEMU_VHOST_USER_RNG_H 11 12 #include "hw/virtio/virtio.h" 13 #include "hw/virtio/vhost.h" 14 #include "hw/virtio/vhost-user.h" 15 #include "hw/virtio/vhost-user-base.h" 16 17 #define TYPE_VHOST_USER_RNG "vhost-user-rng" 18 OBJECT_DECLARE_SIMPLE_TYPE(VHostUserRNG, VHOST_USER_RNG) 19 20 struct VHostUserRNG { 21 VHostUserBase parent_obj; 22 }; 23 24 #endif /* QEMU_VHOST_USER_RNG_H */ 25