diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-04-29 17:44:56 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-03 12:17:39 -0500 |
commit | a92315553df516a5e3431142aadab93482c6b29f (patch) | |
tree | 7afc08c5eef9afe1bde982bb7b12a11fa6efec36 /hw/file-op-9p.h | |
parent | a6568fe27fdb50a46109b48612128cf712e60130 (diff) |
virtio-9p: Add P9_TREAD support
Implement P9_TREAD support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/file-op-9p.h')
-rw-r--r-- | hw/file-op-9p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/file-op-9p.h b/hw/file-op-9p.h index 715f2d0f89..c1f5e45e2b 100644 --- a/hw/file-op-9p.h +++ b/hw/file-op-9p.h @@ -34,6 +34,12 @@ typedef struct FileOperations int (*closedir)(FsContext *, DIR *); DIR *(*opendir)(FsContext *, const char *); int (*open)(FsContext *, const char *, int); + void (*rewinddir)(FsContext *, DIR *); + off_t (*telldir)(FsContext *, DIR *); + struct dirent *(*readdir)(FsContext *, DIR *); + void (*seekdir)(FsContext *, DIR *, off_t); + ssize_t (*readv)(FsContext *, int, const struct iovec *, int); + off_t (*lseek)(FsContext *, int, off_t, int); void *opaque; } FileOperations; #endif |