diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-04-29 17:44:55 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-03 12:17:39 -0500 |
commit | a6568fe27fdb50a46109b48612128cf712e60130 (patch) | |
tree | a74f1c7eb8d43a0bbbcdd4c94f879666b150b3c3 /hw/file-op-9p.h | |
parent | ff5e54c98749ca2e5586cb1cdbb2b97c69c7ee51 (diff) |
virtio-9p: Add P9_TOPEN support.
Implement P9_TOPEN 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/file-op-9p.h b/hw/file-op-9p.h index 461df9eeb4..715f2d0f89 100644 --- a/hw/file-op-9p.h +++ b/hw/file-op-9p.h @@ -32,6 +32,8 @@ typedef struct FileOperations int (*setuid)(FsContext *, uid_t); int (*close)(FsContext *, int); int (*closedir)(FsContext *, DIR *); + DIR *(*opendir)(FsContext *, const char *); + int (*open)(FsContext *, const char *, int); void *opaque; } FileOperations; #endif |