chardev: add udp support to qapi
This patch adds 'udp' support to qapi. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
1da48c658a
commit
3ecc059dcd
4 changed files with 67 additions and 19 deletions
|
|
@ -3166,7 +3166,7 @@
|
|||
##
|
||||
# @ChardevSocket:
|
||||
#
|
||||
# Configuration info for socket chardevs.
|
||||
# Configuration info for (stream) socket chardevs.
|
||||
#
|
||||
# @addr: socket address to listen on (server=true)
|
||||
# or connect to (server=false)
|
||||
|
|
@ -3184,6 +3184,19 @@
|
|||
'*nodelay' : 'bool',
|
||||
'*telnet' : 'bool' } }
|
||||
|
||||
##
|
||||
# @ChardevDgram:
|
||||
#
|
||||
# Configuration info for datagram socket chardevs.
|
||||
#
|
||||
# @remote: remote address
|
||||
# @local: #optional local address
|
||||
#
|
||||
# Since: 1.5
|
||||
##
|
||||
{ 'type': 'ChardevDgram', 'data': { 'remote' : 'SocketAddress',
|
||||
'*local' : 'SocketAddress' } }
|
||||
|
||||
##
|
||||
# @ChardevMux:
|
||||
#
|
||||
|
|
@ -3272,6 +3285,7 @@
|
|||
'parallel': 'ChardevHostdev',
|
||||
'pipe' : 'ChardevHostdev',
|
||||
'socket' : 'ChardevSocket',
|
||||
'dgram' : 'ChardevDgram',
|
||||
'pty' : 'ChardevDummy',
|
||||
'null' : 'ChardevDummy',
|
||||
'mux' : 'ChardevMux',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue