Re: [PATCH v2 4/5] coroutine: Split qemu/coroutine-core.h off qemu/coroutine.h

2022-12-20 Thread Markus Armbruster
Markus Armbruster writes: > qemu/coroutine.h and qemu/lockable.h include each other. > > They need each other only in macro expansions, so we could simply drop > both inclusions to break the loop, and add suitable includes to files > that expand the macros. > > Instead, move a part of qemu/corout

[PATCH v2 4/5] coroutine: Split qemu/coroutine-core.h off qemu/coroutine.h

2022-12-20 Thread Markus Armbruster
qemu/coroutine.h and qemu/lockable.h include each other. They need each other only in macro expansions, so we could simply drop both inclusions to break the loop, and add suitable includes to files that expand the macros. Instead, move a part of qemu/coroutine.h to new qemu/coroutine-core.h so th