From patchwork Mon Feb 11 17:05:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [for-1.4] qapi: Improve chardev-add documentation Date: Mon, 11 Feb 2013 07:05:48 -0000 From: Markus Armbruster X-Patchwork-Id: 219646 Message-Id: <1360602348-4727-1-git-send-email-armbru@redhat.com> To: qemu-devel@nongnu.org Cc: kraxel@redhat.com, lcapitulino@redhat.com Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- qapi-schema.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 736f881..bd289ae 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3152,6 +3152,9 @@ # # 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 ## { 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } } @@ -3159,12 +3162,12 @@ ## # @chardev-add: # -# Add a file chardev +# Add a character device backend # # @id: the chardev's ID, must be unique # @backend: backend type and parameters # -# Returns: chardev info. +# Returns: ChardevReturn. # # Since: 1.4 ## @@ -3175,7 +3178,7 @@ ## # @chardev-remove: # -# Remove a chardev +# Remove a character device backend # # @id: the chardev's ID, must exist and not be in use #