]> Git Repo - qemu.git/commit - hw/9pfs/cofs.c
9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch]
authorGreg Kurz <[email protected]>
Mon, 17 Oct 2016 12:13:58 +0000 (14:13 +0200)
committerGreg Kurz <[email protected]>
Mon, 17 Oct 2016 12:13:58 +0000 (14:13 +0200)
commit5bdade66211c8023d8e81c535f4944cbf830b25a
tree8155201fad83c31827d0199dfc81225d2cdbc261
parentbc70a5925f1928623b1fcc033f772daa0d0d271f
9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch]

All these functions use the v9fs_co_run_in_worker() macro, and thus always
call qemu_coroutine_self() and qemu_coroutine_yield().

Let's mark them to make it obvious they execute in coroutine context.

Signed-off-by: Greg Kurz <[email protected]>
hw/9pfs/codir.c
hw/9pfs/cofile.c
hw/9pfs/cofs.c
hw/9pfs/coth.h
hw/9pfs/coxattr.c
This page took 0.025635 seconds and 4 git commands to generate.