summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorLaurent Vivier2019-08-20 18:06:15 +0200
committerMichael S. Tsirkin2019-09-04 12:32:51 +0200
commit0198c2621a1e57d4ceaca1326897f007963c12df (patch)
treef00b21625f7f9d98b6b43f80cd61664fcbb4cfbb /include/sysemu
parentvirtio-rng: Keep the default backend out of VirtIORNGConf (diff)
downloadqemu-0198c2621a1e57d4ceaca1326897f007963c12df.tar.gz
qemu-0198c2621a1e57d4ceaca1326897f007963c12df.tar.xz
qemu-0198c2621a1e57d4ceaca1326897f007963c12df.zip
virtio-rng: change default backend to rng-builtin
Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20190820160615.14616-4-lvivier@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
index 9b22c156f8..fa6eada78c 100644
--- a/include/sysemu/rng.h
+++ b/include/sysemu/rng.h
@@ -24,6 +24,8 @@
#define RNG_BACKEND_CLASS(klass) \
OBJECT_CLASS_CHECK(RngBackendClass, (klass), TYPE_RNG_BACKEND)
+#define TYPE_RNG_BUILTIN "rng-builtin"
+
typedef struct RngRequest RngRequest;
typedef struct RngBackendClass RngBackendClass;
typedef struct RngBackend RngBackend;