qapi: Improve chardev-add documentation

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1360602348-4727-1-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Markus Armbruster 2013-02-11 18:05:48 +01:00 committed by Anthony Liguori
parent d7cd369402
commit 58fa432522
1 changed files with 6 additions and 3 deletions

View File

@ -3152,6 +3152,9 @@
# #
# Return info about the chardev backend just created. # Return info about the chardev backend just created.
# #
# @pty: #optional name of the slave pseudoterminal device, present if
# and only if a chardev of type 'pty' was created
#
# Since: 1.4 # Since: 1.4
## ##
{ 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } } { 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } }
@ -3159,12 +3162,12 @@
## ##
# @chardev-add: # @chardev-add:
# #
# Add a file chardev # Add a character device backend
# #
# @id: the chardev's ID, must be unique # @id: the chardev's ID, must be unique
# @backend: backend type and parameters # @backend: backend type and parameters
# #
# Returns: chardev info. # Returns: ChardevReturn.
# #
# Since: 1.4 # Since: 1.4
## ##
@ -3175,7 +3178,7 @@
## ##
# @chardev-remove: # @chardev-remove:
# #
# Remove a chardev # Remove a character device backend
# #
# @id: the chardev's ID, must exist and not be in use # @id: the chardev's ID, must exist and not be in use
# #