diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-04-29 17:44:58 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-03 12:17:39 -0500 |
commit | 8449360cbde906bb36ca2181d3723bae2fd10742 (patch) | |
tree | 34a5201925b8b9d83716f7d76a085828654f00ce /hw/file-op-9p.h | |
parent | bbd5697b8ea7e8795e83d3550cd1a11077c57fd4 (diff) |
virtio-9p: Add P9_TWRITE support
Implement P9_TWRITE support.
This gets write to file to work
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/file-op-9p.h b/hw/file-op-9p.h index c1f5e45e2b..12503c1c2d 100644 --- a/hw/file-op-9p.h +++ b/hw/file-op-9p.h @@ -39,6 +39,7 @@ typedef struct FileOperations struct dirent *(*readdir)(FsContext *, DIR *); void (*seekdir)(FsContext *, DIR *, off_t); ssize_t (*readv)(FsContext *, int, const struct iovec *, int); + ssize_t (*writev)(FsContext *, int, const struct iovec *, int); off_t (*lseek)(FsContext *, int, off_t, int); void *opaque; } FileOperations; |