Skip to content

Commit

Permalink
qapi/qom: Add ObjectOptions for x-remote-object
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kevmw committed Mar 15, 2021
1 parent fa1ce8a commit 17cdbea
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions qapi/qom.json
Expand Up @@ -644,6 +644,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:
#
Expand Down Expand Up @@ -767,7 +781,8 @@
'tls-creds-anon',
'tls-creds-psk',
'tls-creds-x509',
'tls-cipher-suites'
'tls-cipher-suites',
'x-remote-object'
] }

##
Expand Down Expand Up @@ -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'
} }

##
Expand Down

0 comments on commit 17cdbea

Please sign in to comment.