These patches were the first two from my GSoC series and were reasonably straight-forward and well accepted. Gabriel and I are hoping the patches from GSoC can be merged before I start my job in December, so I'm starting by sending the simple parts of the overall patchset, when they are merged then I will redo the later parts in several smaller and more manageable patchsets.
--- Changes since v3: - Added missing sign-off. - Added patches by Gabriel Kerneis to add blocking_fn annotation and to protect coroutine_fn and blocking_fn with #ifndef. Charlie Shepherd (2): Add an explanation of when a function should be marked coroutine_fn Rename qemu_coroutine_self to qemu_coroutine_self_int and add an annotated wrapper Gabriel Kerneis (2): Introduce blocking_fn annotation Protect coroutine_fn and blocking_fn with #ifndef coroutine-gthread.c | 2 +- coroutine-sigaltstack.c | 2 +- coroutine-ucontext.c | 2 +- coroutine-win32.c | 2 +- include/block/coroutine.h | 35 +++++++++++++++++++++++++++++++++++ include/block/coroutine_int.h | 1 + qemu-coroutine.c | 15 ++++++++++++++- 7 files changed, 54 insertions(+), 5 deletions(-) -- 1.8.4.rc3