Hi, Here is a small series of fixes for the monitor, mostly related to threading issues.
v3: - replaced an error_report() with an assert() - simplify a mon->use_io_thread condition, removing needless QMP check - modify/add some code comments - update commit messages v2 bis: - update comments/commit messages - add Peter r-b v2: after Peter review - patch 2: fix resuming with oob=off - patch 4: keep MUX case explicit, improve commit message Marc-André Lureau (6): monitor: inline ambiguous helper functions monitor: accept chardev input from iothread char: add a QEMU_CHAR_FEATURE_GCONTEXT flag monitor: check if chardev can switch gcontext for OOB monitor: prevent inserting new monitors after cleanup monitor: avoid potential dead-lock when cleaning up include/chardev/char.h | 3 ++ chardev/char.c | 11 +++++++ monitor.c | 71 ++++++++++++++++++++++++++---------------- 3 files changed, 59 insertions(+), 26 deletions(-) -- 2.20.0.rc1
