diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-12-20 14:39:13 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-16 06:58:54 +0100 |
commit | 0a1a7fabda7f0fa05ef09051be29e92e81f929ad (patch) | |
tree | 25ec7df376c7f5b8a451c13be426f17e7d30efb8 /qapi-schema.json | |
parent | f6bd5d6ec514939c421fcd411d1a39bc7dad0948 (diff) | |
download | qemu-0a1a7fabda7f0fa05ef09051be29e92e81f929ad.zip qemu-0a1a7fabda7f0fa05ef09051be29e92e81f929ad.tar.gz qemu-0a1a7fabda7f0fa05ef09051be29e92e81f929ad.tar.bz2 |
chardev: add pty chardev support to chardev-add (qmp)
The ptsname is returned directly, so there is no need to
use query-chardev to figure the pty device path.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 5c3e3eb..6d7252b 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3081,6 +3081,7 @@ { 'union': 'ChardevBackend', 'data': { 'file' : 'ChardevFile', 'port' : 'ChardevPort', 'socket' : 'ChardevSocket', + 'pty' : 'ChardevDummy', 'null' : 'ChardevDummy' } } ## @@ -3090,7 +3091,7 @@ # # Since: 1.4 ## -{ 'type' : 'ChardevReturn', 'data': { } } +{ 'type' : 'ChardevReturn', 'data': { '*pty' : 'str' } } ## # @chardev-add: |