aboutsummaryrefslogtreecommitdiff
path: root/hw/file-op-9p.h
diff options
context:
space:
mode:
authorM. Mohan Kumar <mohan@in.ibm.com>2010-05-10 12:11:03 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2010-09-08 22:56:39 +0530
commitbe940c8716d4d7783b1649f5f286b4c0187f9f6d (patch)
tree2c345d839a7c4aded3bd8151d112741455446de5 /hw/file-op-9p.h
parent84151514e488c70caa2c2c0ca10c76156c3b4e14 (diff)
downloadqemu-be940c8716d4d7783b1649f5f286b4c0187f9f6d.zip
qemu-be940c8716d4d7783b1649f5f286b4c0187f9f6d.tar.gz
qemu-be940c8716d4d7783b1649f5f286b4c0187f9f6d.tar.bz2
qemu: virtio-9p: Implement statfs support in server
Implement statfs support in qemu server based on Sripathi's initial statfs patch. Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'hw/file-op-9p.h')
-rw-r--r--hw/file-op-9p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/file-op-9p.h b/hw/file-op-9p.h
index a741c93..dd82ac7 100644
--- a/hw/file-op-9p.h
+++ b/hw/file-op-9p.h
@@ -74,6 +74,7 @@ typedef struct FileOperations
int (*rename)(FsContext *, const char *, const char *);
int (*truncate)(FsContext *, const char *, off_t);
int (*fsync)(FsContext *, int);
+ int (*statfs)(FsContext *s, const char *path, struct statfs *stbuf);
void *opaque;
} FileOperations;
#endif