[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 11/12] qapi/qom: Add class definition for rng-builtin
From: |
Kevin Wolf |
Subject: |
[RFC PATCH 11/12] qapi/qom: Add class definition for rng-builtin |
Date: |
Wed, 3 Nov 2021 18:30:01 +0100 |
This doesn't add any configuration options compared to its parent class,
so this just makes the schema a little more descriptive with no other
code changes.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
qapi/qom.json | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/qapi/qom.json b/qapi/qom.json
index a167e91f67..864c6a658b 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -731,6 +731,16 @@
{ 'class': 'rng-backend',
'config': 'RngProperties' }
+##
+# @rng-builtin:
+#
+# Built-in random number generator backend
+#
+# Since: 1.3
+##
+{ 'class': 'rng-builtin',
+ 'parent': 'rng-backend' }
+
##
# @RngEgdProperties:
#
@@ -897,7 +907,7 @@
'pr-manager-helper': { 'type': 'PrManagerHelperProperties',
'if': 'CONFIG_LINUX' },
'qtest': 'QtestProperties',
- 'rng-builtin': 'RngProperties',
+ 'rng-builtin': 'qom-config:rng-builtin',
'rng-egd': 'RngEgdProperties',
'rng-random': { 'type': 'qom-config:rng-random',
'if': 'CONFIG_POSIX' },
--
2.31.1
- [RFC PATCH 04/12] qom: Add instance_config() to TypeInfo, (continued)
- [RFC PATCH 04/12] qom: Add instance_config() to TypeInfo, Kevin Wolf, 2021/11/03
- [RFC PATCH 05/12] rng-random: Implement .instance_config, Kevin Wolf, 2021/11/03
- [RFC PATCH 06/12] rng-backend: Implement .instance_config, Kevin Wolf, 2021/11/03
- [RFC PATCH 07/12] qapi: Allow defining QOM classes, Kevin Wolf, 2021/11/03
- [RFC PATCH 08/12] qapi: Create qom-config:... type for classes, Kevin Wolf, 2021/11/03
- [RFC PATCH 09/12] qapi/qom: Convert rng-backend/random to class, Kevin Wolf, 2021/11/03
- [RFC PATCH 12/12] qapi/qom: Add class definition for rng-egd, Kevin Wolf, 2021/11/03
- [RFC PATCH 11/12] qapi/qom: Add class definition for rng-builtin,
Kevin Wolf <=
- [RFC PATCH 10/12] qapi: Generate QOM config marshalling code, Kevin Wolf, 2021/11/03
- Re: [RFC PATCH 00/12] QOM/QAPI integration part 1, Paolo Bonzini, 2021/11/03
- Re: [RFC PATCH 00/12] QOM/QAPI integration part 1, Damien Hedde, 2021/11/04
- Re: [RFC PATCH 00/12] QOM/QAPI integration part 1, Kevin Wolf, 2021/11/05