qemu/include/monitor
Markus Armbruster af7f8eb591 coroutine: Move coroutine_fn to qemu/osdep.h, trim includes
block/block-hmp-cmds.h and qemu/co-shared-resource.h use coroutine_fn
without including qemu/coroutine.h.  They compile only if it's already
included from elsewhere.

I could fix that, but pulling in qemu/coroutine.h and everything it
includes just for a macro that expands into nothing feels silly.
Instead, move the macro to qemu/osdep.h.

Inclusions of qemu/coroutine.h just for coroutine_fn become
superfluous.  Drop them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20221221131435.3851212-3-armbru@redhat.com>
2023-01-19 10:18:28 +01:00
..
hmp-target.h mos6522: add "info via" HMP command for debugging 2022-03-09 09:28:28 +00:00
hmp.h coroutine: Move coroutine_fn to qemu/osdep.h, trim includes 2023-01-19 10:18:28 +01:00
monitor.h qapi misc: Elide redundant has_FOO in generated C 2022-12-14 20:04:47 +01:00
qdev.h qdev: Base object creation on QDict rather than QemuOpts 2021-10-15 16:11:22 +02:00
stats.h qmp: add filtering of statistics by name 2022-06-14 16:50:30 +02:00