coroutine: Split qemu/coroutine-core.h off qemu/coroutine.h
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 that qemu/coroutine-core.h doesn't need qemu/lockable.h, and qemu/lockable.h only needs qemu/coroutine-core.h. Result: qemu/coroutine.h includes qemu/lockable.h includes qemu/coroutine-core.h. Signed-off-by:Markus Armbruster <armbru@redhat.com> Message-Id: <20221221131435.3851212-5-armbru@redhat.com> [Semantic rebase conflict with 7c10cb38 "accel/tcg: Add debuginfo support" resolved]
Showing
- accel/tcg/debuginfo.h 2 additions, 0 deletionsaccel/tcg/debuginfo.h
- hw/9pfs/coth.h 1 addition, 1 deletionhw/9pfs/coth.h
- include/block/aio.h 1 addition, 1 deletioninclude/block/aio.h
- include/io/channel.h 1 addition, 1 deletioninclude/io/channel.h
- include/qemu/coroutine-core.h 154 additions, 0 deletionsinclude/qemu/coroutine-core.h
- include/qemu/coroutine.h 1 addition, 96 deletionsinclude/qemu/coroutine.h
- include/qemu/lockable.h 1 addition, 1 deletioninclude/qemu/lockable.h
- include/qemu/typedefs.h 0 additions, 1 deletioninclude/qemu/typedefs.h
- nbd/client-connection.c 1 addition, 0 deletionsnbd/client-connection.c
- tests/unit/test-aio.c 1 addition, 1 deletiontests/unit/test-aio.c
- ui/console.c 1 addition, 0 deletionsui/console.c
Loading
Please register or sign in to comment