aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-rng.h')
-rw-r--r--hw/virtio-rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio-rng.h b/hw/virtio-rng.h
index 7324d0ab57..f42d748eba 100644
--- a/hw/virtio-rng.h
+++ b/hw/virtio-rng.h
@@ -13,6 +13,7 @@
#define _QEMU_VIRTIO_RNG_H
#include "qemu/rng.h"
+#include "qemu/rng-random.h"
/* The Virtio ID for the virtio rng device */
#define VIRTIO_ID_RNG 4
@@ -21,6 +22,7 @@ struct VirtIORNGConf {
RngBackend *rng;
uint64_t max_bytes;
uint32_t period_ms;
+ RndRandom *default_backend;
};
#endif