9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch]
commit5bdade66211c8023d8e81c535f4944cbf830b25a
authorGreg Kurz <groug@kaod.org>
Mon, 17 Oct 2016 12:13:58 +0000 (17 14:13 +0200)
committerGreg Kurz <groug@kaod.org>
Mon, 17 Oct 2016 12:13:58 +0000 (17 14:13 +0200)
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 <groug@kaod.org>
hw/9pfs/codir.c
hw/9pfs/cofile.c
hw/9pfs/cofs.c
hw/9pfs/coth.h
hw/9pfs/coxattr.c