]> Git Repo - qemu.git/blob - hw/virtio-rng.h
Merge remote-tracking branch 'amit/loadvm-irq-inj-fix' into staging
[qemu.git] / hw / virtio-rng.h
1 /*
2  * Virtio RNG Support
3  *
4  * Copyright Red Hat, Inc. 2012
5  * Copyright Amit Shah <[email protected]>
6  *
7  * This work is licensed under the terms of the GNU GPL, version 2 or
8  * (at your option) any later version.  See the COPYING file in the
9  * top-level directory.
10  */
11
12 #ifndef _QEMU_VIRTIO_RNG_H
13 #define _QEMU_VIRTIO_RNG_H
14
15 #include "qemu/rng.h"
16 #include "qemu/rng-random.h"
17
18 /* The Virtio ID for the virtio rng device */
19 #define VIRTIO_ID_RNG    4
20
21 struct VirtIORNGConf {
22     RngBackend *rng;
23     uint64_t max_bytes;
24     uint32_t period_ms;
25     RndRandom *default_backend;
26 };
27
28 #endif
This page took 0.027858 seconds and 4 git commands to generate.