diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-26 16:21:11 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-13 10:27:46 +0100 |
commit | 1da48c658a26d0c1444d05d8d3a545d311e01026 (patch) | |
tree | cba4ff0e2a4e5531b4714c980efa14a32d586edc /qapi-schema.json | |
parent | 702ec69cc1aa87a1e53d1b066a38a9eb0fa7845b (diff) | |
download | qemu-1da48c658a26d0c1444d05d8d3a545d311e01026.zip qemu-1da48c658a26d0c1444d05d8d3a545d311e01026.tar.gz qemu-1da48c658a26d0c1444d05d8d3a545d311e01026.tar.bz2 |
chardev: add memory (ringbuf) support to qapi
This patch adds 'memory' support to qapi and also switches over
the memory chardev initialization to the new qapi code path.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 4ee5650..8d371f1 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3248,6 +3248,17 @@ '*rows' : 'int' } } ## +# @ChardevRingbuf: +# +# Configuration info for memory chardevs +# +# @size: #optional Ringbuffer size, must be power of two, default is 65536 +# +# Since: 1.5 +## +{ 'type': 'ChardevRingbuf', 'data': { '*size' : 'int' } } + +## # @ChardevBackend: # # Configuration info for the new chardev backend. @@ -3270,7 +3281,8 @@ 'console': 'ChardevDummy', 'spicevmc' : 'ChardevSpiceChannel', 'spiceport' : 'ChardevSpicePort', - 'vc' : 'ChardevVC' } } + 'vc' : 'ChardevVC', + 'memory' : 'ChardevRingbuf' } } ## # @ChardevReturn: |