qapi/qom: Add ObjectOptions for can-*
This adds a QAPI schema for the properties of the can-* objects. can-bus doesn't have any properties, so it only needs to be added to the ObjectType enum without adding a new branch to ObjectOptions. 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>
This commit is contained in:
parent
d09e49374b
commit
f3189b9135
@ -207,6 +207,21 @@
|
|||||||
'returns': [ 'ObjectPropertyInfo' ],
|
'returns': [ 'ObjectPropertyInfo' ],
|
||||||
'allow-preconfig': true }
|
'allow-preconfig': true }
|
||||||
|
|
||||||
|
##
|
||||||
|
# @CanHostSocketcanProperties:
|
||||||
|
#
|
||||||
|
# Properties for can-host-socketcan objects.
|
||||||
|
#
|
||||||
|
# @if: interface name of the host system CAN bus to connect to
|
||||||
|
#
|
||||||
|
# @canbus: object ID of the can-bus object to connect to the host interface
|
||||||
|
#
|
||||||
|
# Since: 2.12
|
||||||
|
##
|
||||||
|
{ 'struct': 'CanHostSocketcanProperties',
|
||||||
|
'data': { 'if': 'str',
|
||||||
|
'canbus': 'str' } }
|
||||||
|
|
||||||
##
|
##
|
||||||
# @CryptodevBackendProperties:
|
# @CryptodevBackendProperties:
|
||||||
#
|
#
|
||||||
@ -441,6 +456,8 @@
|
|||||||
'authz-listfile',
|
'authz-listfile',
|
||||||
'authz-pam',
|
'authz-pam',
|
||||||
'authz-simple',
|
'authz-simple',
|
||||||
|
'can-bus',
|
||||||
|
'can-host-socketcan',
|
||||||
'cryptodev-backend',
|
'cryptodev-backend',
|
||||||
'cryptodev-backend-builtin',
|
'cryptodev-backend-builtin',
|
||||||
{ 'name': 'cryptodev-vhost-user',
|
{ 'name': 'cryptodev-vhost-user',
|
||||||
@ -483,6 +500,7 @@
|
|||||||
'authz-listfile': 'AuthZListFileProperties',
|
'authz-listfile': 'AuthZListFileProperties',
|
||||||
'authz-pam': 'AuthZPAMProperties',
|
'authz-pam': 'AuthZPAMProperties',
|
||||||
'authz-simple': 'AuthZSimpleProperties',
|
'authz-simple': 'AuthZSimpleProperties',
|
||||||
|
'can-host-socketcan': 'CanHostSocketcanProperties',
|
||||||
'cryptodev-backend': 'CryptodevBackendProperties',
|
'cryptodev-backend': 'CryptodevBackendProperties',
|
||||||
'cryptodev-backend-builtin': 'CryptodevBackendProperties',
|
'cryptodev-backend-builtin': 'CryptodevBackendProperties',
|
||||||
'cryptodev-vhost-user': { 'type': 'CryptodevVhostUserProperties',
|
'cryptodev-vhost-user': { 'type': 'CryptodevVhostUserProperties',
|
||||||
|
Loading…
Reference in New Issue
Block a user