summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-03-26 14:38:56 +0800
committerEric Blake <eblake@redhat.com>2018-03-27 10:17:45 -0500
commitbe933ffc238dcedf0ba2bfa347b20b6dcb075b82 (patch)
treeae15ac514a3355be724a79a2dd02902425933831 /scripts/qapi/common.py
parent6d2d563f8ccc20a08a60ac87513ac113e0c881e3 (diff)
downloadfocaccia-qemu-be933ffc238dcedf0ba2bfa347b20b6dcb075b82.tar.gz
focaccia-qemu-be933ffc238dcedf0ba2bfa347b20b6dcb075b82.zip
monitor: new parameter "x-oob"
Add new parameter to optionally enable Out-Of-Band for a QMP server.

An example command line:

  ./qemu-system-x86_64 -chardev stdio,id=char0 \
                       -mon chardev=char0,mode=control,x-oob=on

By default, Out-Of-Band is off.

It is not allowed if either MUX or non-QMP is detected, since
Out-Of-Band is currently only for QMP, and non-MUX chardev backends.

Note that the client STILL has to request 'oob' during qmp_capabilities;
in part because the x-oob command line option may disappear in the
future if we decide the capabilities negotiation is sufficient.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180326063901.27425-4-peterx@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[eblake: enhance commit message]
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions