aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2021-02-24 13:21:48 +0100
committerKevin Wolf <kwolf@redhat.com>2021-03-19 10:17:14 +0100
commit17422da082ffcecb38bd1f2e2de6d56a61e8cd9c (patch)
tree80364f2b68da49684c41c507a86024feb9c0c39e /qapi
parent30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0 (diff)
downloadqemu-arm-17422da082ffcecb38bd1f2e2de6d56a61e8cd9c.tar.gz
qapi/qom: Add ObjectOptions for x-remote-object
This adds a QAPI schema for the properties of the x-remote-object object. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/qom.json20
1 files changed, 18 insertions, 2 deletions
diff --git a/qapi/qom.json b/qapi/qom.json
index d96c243b56..192a582b07 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -645,6 +645,20 @@
'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:
#
# Properties for objects of classes derived from rng.
@@ -767,7 +781,8 @@
'tls-creds-anon',
'tls-creds-psk',
'tls-creds-x509',
- 'tls-cipher-suites'
+ 'tls-cipher-suites',
+ 'x-remote-object'
] }
##
@@ -822,7 +837,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'
} }
##