[Qemu-devel] [PATCH 0/3] iothread: allow to create internal iothreads

Peter Xu posted 3 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1506070572-7549-1-git-send-email-peterx@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
include/sysemu/iothread.h |  9 +++++++++
iothread.c                | 51 +++++++++++++++++++++++++++++++++++++----------
2 files changed, 50 insertions(+), 10 deletions(-)
[Qemu-devel] [PATCH 0/3] iothread: allow to create internal iothreads
Posted by Peter Xu 6 years, 7 months ago
When trying to support monitor OOB (out-of-band) commands, I found
that the monitor IO thread I did looks just like iothread.  It would
be best if I can use iothread directly.  However it seems that it was
mostly used by "-object iothread" before but not friendly to internal
usages.  This series tries to export essential functions to do it.

Also, I think patch 2 also fixes a bug in iothread_stop().

Please review. Thanks.

Peter Xu (3):
  iothread: provide helpers for internal use
  iothread: export iothread_stop()
  iothread: delay the context release to finalize

 include/sysemu/iothread.h |  9 +++++++++
 iothread.c                | 51 +++++++++++++++++++++++++++++++++++++----------
 2 files changed, 50 insertions(+), 10 deletions(-)

-- 
2.7.4