aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/virtio-9p-coth.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-05-07 21:09:24 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-08-22 09:44:13 +0530
commitbed4352c4f041af65c522cb453aff468f49aebea (patch)
tree86bce64205f8feb6227cee10204a713188c84b26 /hw/9pfs/virtio-9p-coth.h
parent3cc19c0c607ca780c79dbf42b4781d110a64e342 (diff)
downloadqemu-bed4352c4f041af65c522cb453aff468f49aebea.zip
qemu-bed4352c4f041af65c522cb453aff468f49aebea.tar.gz
qemu-bed4352c4f041af65c522cb453aff468f49aebea.tar.bz2
hw/9pfs: Add yeild support for clunk related coroutine
This include lsetxattr, lremovexattr, closedir and close. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p-coth.h')
-rw-r--r--hw/9pfs/virtio-9p-coth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/9pfs/virtio-9p-coth.h b/hw/9pfs/virtio-9p-coth.h
index f9610b9..5d7dfd7 100644
--- a/hw/9pfs/virtio-9p-coth.h
+++ b/hw/9pfs/virtio-9p-coth.h
@@ -80,4 +80,9 @@ extern int v9fs_co_fstat(V9fsState *, int, struct stat *);
extern int v9fs_co_opendir(V9fsState *, V9fsFidState *);
extern int v9fs_co_open(V9fsState *, V9fsFidState *, int);
extern int v9fs_co_open2(V9fsState *, V9fsFidState *, char *, gid_t, int, int);
+extern int v9fs_co_lsetxattr(V9fsState *, V9fsString *, V9fsString *,
+ void *, size_t, int);
+extern int v9fs_co_lremovexattr(V9fsState *, V9fsString *, V9fsString *);
+extern int v9fs_co_closedir(V9fsState *, V9fsFidState *);
+extern int v9fs_co_close(V9fsState *, V9fsFidState *);
#endif