rng-egd.c (9cb535fe4ef08b01e583ec955767a0899ff79afe) rng-egd.c (7b1b5d191385ca52e96caae2a05c64f3a63855d9)
1/*
2 * QEMU Random Number Generator Backend
3 *
4 * Copyright IBM, Corp. 2012
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12
13#include "qemu/rng.h"
14#include "qemu-char.h"
1/*
2 * QEMU Random Number Generator Backend
3 *
4 * Copyright IBM, Corp. 2012
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12
13#include "qemu/rng.h"
14#include "qemu-char.h"
15#include "qerror.h"
15#include "qapi/qmp/qerror.h"
16#include "hw/qdev.h" /* just for DEFINE_PROP_CHR */
17
18#define TYPE_RNG_EGD "rng-egd"
19#define RNG_EGD(obj) OBJECT_CHECK(RngEgd, (obj), TYPE_RNG_EGD)
20
21typedef struct RngEgd
22{
23 RngBackend parent;

--- 201 unchanged lines hidden ---
16#include "hw/qdev.h" /* just for DEFINE_PROP_CHR */
17
18#define TYPE_RNG_EGD "rng-egd"
19#define RNG_EGD(obj) OBJECT_CHECK(RngEgd, (obj), TYPE_RNG_EGD)
20
21typedef struct RngEgd
22{
23 RngBackend parent;

--- 201 unchanged lines hidden ---