9pfs: use coroutine_fn annotation in hw/9pfs/9p.[ch]
commit8440e22ec1a5deabc4fcf5c4826d5c73ddc15765
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)
treea4fa0a5ccb8e4c3d5dc1ce3b22de202928077dcf
parent5bdade66211c8023d8e81c535f4944cbf830b25a
9pfs: use coroutine_fn annotation in hw/9pfs/9p.[ch]

All these functions either call the v9fs_co_* functions which have the
coroutine_fn annotation, or pdu_complete() which calls qemu_co_queue_next().

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

Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p.c
hw/9pfs/9p.h