[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/18] qapi/qom: Add ObjectOptions for dbus-vmstate
From: |
Kevin Wolf |
Subject: |
[PATCH 04/18] qapi/qom: Add ObjectOptions for dbus-vmstate |
Date: |
Mon, 30 Nov 2020 13:25:24 +0100 |
This adds a QAPI schema for the properties of the dbus-vmstate object.
A list represented as a comma separated string is clearly not very
QAPI-like, but for now just describe the existing interface.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
qapi/qom.json | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/qapi/qom.json b/qapi/qom.json
index 7cbc0a3c54..2319c9bad6 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -232,6 +232,22 @@
'base': 'CryptodevBackendProperties',
'data': { 'chardev': 'str' } }
+##
+# @DBusVMStateProperties:
+#
+# Properties for dbus-vmstate objects.
+#
+# @addr: the name of the DBus bus to connect to
+#
+# @id-list: a comma separated list of DBus IDs of helpers whose data should be
+# included in the VM state on migration
+#
+# Since: 6.0
+##
+{ 'struct': 'DBusVMStateProperties',
+ 'data': { 'addr': 'str' ,
+ '*id-list': 'str' } }
+
##
# @IothreadProperties:
#
@@ -270,6 +286,7 @@
'cryptodev-backend',
'cryptodev-backend-builtin',
'cryptodev-vhost-user',
+ 'dbus-vmstate',
'iothread'
] }
@@ -296,6 +313,7 @@
'cryptodev-backend': 'CryptodevBackendProperties',
'cryptodev-backend-builtin': 'CryptodevBackendProperties',
'cryptodev-vhost-user': 'CryptodevVhostUserProperties',
+ 'dbus-vmstate': 'DBusVMStateProperties',
'iothread': 'IothreadProperties'
} }
--
2.28.0
- [PATCH 00/18] qapi/qom: QAPIfy object-add, Kevin Wolf, 2020/11/30
- [PATCH 01/18] qapi/qom: Add ObjectOptions for iothread, Kevin Wolf, 2020/11/30
- [PATCH 02/18] qapi/qom: Add ObjectOptions for authz-*, Kevin Wolf, 2020/11/30
- [PATCH 03/18] qapi/qom: Add ObjectOptions for cryptodev-*, Kevin Wolf, 2020/11/30
- [PATCH 06/18] qapi/qom: Add ObjectOptions for rng-*, deprecate 'opened', Kevin Wolf, 2020/11/30
- [PATCH 04/18] qapi/qom: Add ObjectOptions for dbus-vmstate,
Kevin Wolf <=
- [PATCH 05/18] qapi/qom: Add ObjectOptions for memory-backend-*, Kevin Wolf, 2020/11/30
- [PATCH 08/18] qapi/qom: Add ObjectOptions for secret*, deprecate 'loaded', Kevin Wolf, 2020/11/30
- [PATCH 07/18] qapi/qom: Add ObjectOptions for throttle-group, Kevin Wolf, 2020/11/30
- [PATCH 09/18] qapi/qom: Add ObjectOptions for tls-*, deprecate 'loaded', Kevin Wolf, 2020/11/30
- [PATCH 10/18] qapi/qom: Add ObjectOptions for can-*, Kevin Wolf, 2020/11/30
- [PATCH 11/18] qapi/qom: Add ObjectOptions for colo-compare, Kevin Wolf, 2020/11/30
- [PATCH 12/18] qapi/qom: Add ObjectOptions for filter-*, Kevin Wolf, 2020/11/30
- [PATCH 13/18] qapi/qom: Add ObjectOptions for pr-manager-helper, Kevin Wolf, 2020/11/30
- [PATCH 14/18] qapi/qom: Add ObjectOptions for sev-guest, Kevin Wolf, 2020/11/30
- [PATCH 15/18] qapi/qom: Add ObjectOptions for input-*, Kevin Wolf, 2020/11/30