diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-14 16:05:49 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | c5a415a0afddbc217263b62a8e87d8ec9e7f760f (patch) | |
tree | 5be30ea3266b82c1e4ea4c1e2fd24ad66d11b90c /qapi-schema.json | |
parent | efab767eaafe39a234e8244819d0969ff59a325a (diff) | |
download | hqemu-c5a415a0afddbc217263b62a8e87d8ec9e7f760f.zip hqemu-c5a415a0afddbc217263b62a8e87d8ec9e7f760f.tar.gz |
qapi: Convert query-chardev
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index b717491..cf55504 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -176,3 +176,29 @@ ## { 'command': 'query-uuid', 'returns': 'UuidInfo' } +## +# @ChardevInfo: +# +# Information about a character device. +# +# @label: the label of the character device +# +# @filename: the filename of the character device +# +# Notes: @filename is encoded using the QEMU command line character device +# encoding. See the QEMU man page for details. +# +# Since: 0.14.0 +## +{ 'type': 'ChardevInfo', 'data': {'label': 'str', 'filename': 'str'} } + +## +# @query-chardev: +# +# Returns information about current character devices. +# +# Returns: a list of @ChardevInfo +# +# Since: 0.14.0 +## +{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] } |