aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2019-08-20 18:06:15 +0200
committerMichael S. Tsirkin <mst@redhat.com>2019-09-04 06:32:51 -0400
commit0198c2621a1e57d4ceaca1326897f007963c12df (patch)
treef00b21625f7f9d98b6b43f80cd61664fcbb4cfbb /include/sysemu
parent5f7655f6ef1583c4b15c5a6e1aa2348538f6104b (diff)
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;