[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 18/31] qapi/qom: Add ObjectOptions for x-remote-object
From: |
Kevin Wolf |
Subject: |
[PATCH v2 18/31] qapi/qom: Add ObjectOptions for x-remote-object |
Date: |
Wed, 24 Feb 2021 14:52:42 +0100 |
This adds a QAPI schema for the properties of the x-remote-object
object.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
qapi/qom.json | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/qapi/qom.json b/qapi/qom.json
index f8ff322df0..6793342e81 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -641,6 +641,20 @@
{ 'struct': 'PrManagerHelperProperties',
'data': { 'path': 'str' } }
+##
+# @RemoteObjectProperties:
+#
+# Properties for x-remote-object objects.
+#
+# @fd: file descriptor name previously passed via 'getfd' command
+#
+# @devid: the id of the device to be associated with the file descriptor
+#
+# Since: 6.0
+##
+{ 'struct': 'RemoteObjectProperties',
+ 'data': { 'fd': 'str', 'devid': 'str' } }
+
##
# @RngProperties:
#
@@ -762,7 +776,8 @@
'tls-creds-anon',
'tls-creds-psk',
'tls-creds-x509',
- 'tls-cipher-suites'
+ 'tls-cipher-suites',
+ 'x-remote-object'
] }
##
@@ -815,7 +830,8 @@
'tls-creds-anon': 'TlsCredsAnonProperties',
'tls-creds-psk': 'TlsCredsPskProperties',
'tls-creds-x509': 'TlsCredsX509Properties',
- 'tls-cipher-suites': 'TlsCredsProperties'
+ 'tls-cipher-suites': 'TlsCredsProperties',
+ 'x-remote-object': 'RemoteObjectProperties'
} }
##
--
2.29.2
- [PATCH v2 16/31] qapi/qom: Add ObjectOptions for confidential-guest-support, (continued)
- [PATCH v2 16/31] qapi/qom: Add ObjectOptions for confidential-guest-support, Kevin Wolf, 2021/02/24
- [PATCH v2 10/31] qapi/qom: Add ObjectOptions for secret*, deprecate 'loaded', Kevin Wolf, 2021/02/24
- [PATCH v2 05/31] qapi/qom: Add ObjectOptions for cryptodev-*, Kevin Wolf, 2021/02/24
- [PATCH v2 08/31] qapi/qom: Add ObjectOptions for rng-*, deprecate 'opened', Kevin Wolf, 2021/02/24
- [PATCH v2 18/31] qapi/qom: Add ObjectOptions for x-remote-object,
Kevin Wolf <=
- [PATCH v2 15/31] qapi/qom: Add ObjectOptions for pr-manager-helper, Kevin Wolf, 2021/02/24
- [PATCH v2 13/31] qapi/qom: Add ObjectOptions for colo-compare, Kevin Wolf, 2021/02/24
- [PATCH v2 21/31] qemu-storage-daemon: Implement --object with qmp_object_add(), Kevin Wolf, 2021/02/24
- [PATCH v2 20/31] qom: Make "object" QemuOptsList optional, Kevin Wolf, 2021/02/24
- [PATCH v2 17/31] qapi/qom: Add ObjectOptions for input-*, Kevin Wolf, 2021/02/24