aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-rng.c')
-rw-r--r--hw/virtio-rng.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/hw/virtio-rng.c b/hw/virtio-rng.c
index 54c1421f86..fa8e8f3f9a 100644
--- a/hw/virtio-rng.c
+++ b/hw/virtio-rng.c
@@ -16,25 +16,6 @@
#include "hw/virtio-rng.h"
#include "qemu/rng.h"
-typedef struct VirtIORNG {
- VirtIODevice vdev;
-
- DeviceState *qdev;
-
- /* Only one vq - guest puts buffer(s) on it when it needs entropy */
- VirtQueue *vq;
-
- VirtIORNGConf *conf;
-
- RngBackend *rng;
-
- /* We purposefully don't migrate this state. The quota will reset on the
- * destination as a result. Rate limiting is host state, not guest state.
- */
- QEMUTimer *rate_limit_timer;
- int64_t quota_remaining;
-} VirtIORNG;
-
static bool is_guest_ready(VirtIORNG *vrng)
{
if (virtio_queue_ready(vrng->vq)