diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-07-01 16:31:51 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2013-07-10 13:39:37 -0400 |
commit | b35284ea207a0ae1c0b162344cdef2a83304befc (patch) | |
tree | bb071389c26f1df906f960d5be23651692e69d9e /qapi-schema.json | |
parent | bd9927fee4e63b451b4ef67a4c49729070d8b05d (diff) |
qapi.py: Allow top-level type reference for command definitions
If 'data' for a command definition isn't a dict, but a string, it is
taken as a (struct) type name and the fields of this struct are directly
used as parameters.
This is useful for transactionable commands that can use the same type
definition for both the transaction action and the arguments of the
standalone command.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions