diff options
author | Greg Kurz <groug@kaod.org> | 2016-10-17 14:13:58 +0200 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2016-10-17 14:13:58 +0200 |
commit | 8440e22ec1a5deabc4fcf5c4826d5c73ddc15765 (patch) | |
tree | a4fa0a5ccb8e4c3d5dc1ce3b22de202928077dcf /hw/9pfs/9p.h | |
parent | 5bdade66211c8023d8e81c535f4944cbf830b25a (diff) |
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>
Diffstat (limited to 'hw/9pfs/9p.h')
-rw-r--r-- | hw/9pfs/9p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 5225b4f120..c4df66d1c4 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -324,7 +324,7 @@ static inline uint8_t v9fs_request_cancelled(V9fsPDU *pdu) return pdu->cancelled; } -void v9fs_reclaim_fd(V9fsPDU *pdu); +void coroutine_fn v9fs_reclaim_fd(V9fsPDU *pdu); void v9fs_path_init(V9fsPath *path); void v9fs_path_free(V9fsPath *path); void v9fs_path_sprintf(V9fsPath *path, const char *fmt, ...); |