diff options
author | Marc-André Lureau | 2018-12-05 21:37:34 +0100 |
---|---|---|
committer | Markus Armbruster | 2018-12-12 09:55:57 +0100 |
commit | a9a0d9b99a347b1413728992726f2bacf76d48ce (patch) | |
tree | 62dd714b48a54106cc53b0584d4f3588fcbf726a /net | |
parent | char: add a QEMU_CHAR_FEATURE_GCONTEXT flag (diff) | |
download | qemu-a9a0d9b99a347b1413728992726f2bacf76d48ce.tar.gz qemu-a9a0d9b99a347b1413728992726f2bacf76d48ce.tar.xz qemu-a9a0d9b99a347b1413728992726f2bacf76d48ce.zip |
monitor: check if chardev can switch gcontext for OOB
Not all backends are able to switch gcontext. Those backends cannot
drive a OOB monitor (the monitor would then be blocking on main
thread).
For example, ringbuf, spice, or more esoteric input chardevs like
braille or MUX.
We already forbid MUX because not all frontends are ready to run outside
main loop. Replace that by a context-switching feature check.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181205203737.9011-5-marcandre.lureau@redhat.com>
[Error condition simplified, commit message adjusted accordingly]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions