From 7eafdcc96c13535bad6137ea33a1bcacb5e48cd8 Mon Sep 17 00:00:00 2001 From: "Aneesh Kumar K.V" Date: Sun, 8 May 2011 15:16:22 +0530 Subject: hw/9pfs: Add yield support for preadv coroutine Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p-coth.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/9pfs/virtio-9p-coth.h') diff --git a/hw/9pfs/virtio-9p-coth.h b/hw/9pfs/virtio-9p-coth.h index fa408f876e..5fa2972683 100644 --- a/hw/9pfs/virtio-9p-coth.h +++ b/hw/9pfs/virtio-9p-coth.h @@ -91,4 +91,6 @@ extern int v9fs_co_symlink(V9fsState *, V9fsFidState *, const char *, extern int v9fs_co_link(V9fsState *, V9fsString *, V9fsString *); extern int v9fs_co_pwritev(V9fsState *, V9fsFidState *, struct iovec *, int, int64_t); +extern int v9fs_co_preadv(V9fsState *, V9fsFidState *, + struct iovec *, int, int64_t); #endif -- cgit v1.2.1