summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/virtio-9p-proxy.h
diff options
context:
space:
mode:
authorM. Mohan Kumar2011-12-14 09:28:45 +0100
committerAneesh Kumar K.V2012-01-04 15:48:09 +0100
commit39f8c32c3f4ed54d5d5dfb7cc0f2eb3b244e511a (patch)
treec1588728dc8da1fda2c43b154b85cbcc41f9f221 /hw/9pfs/virtio-9p-proxy.h
parenthw/9pfs: Open and create files (diff)
downloadqemu-39f8c32c3f4ed54d5d5dfb7cc0f2eb3b244e511a.tar.gz
qemu-39f8c32c3f4ed54d5d5dfb7cc0f2eb3b244e511a.tar.xz
qemu-39f8c32c3f4ed54d5d5dfb7cc0f2eb3b244e511a.zip
hw/9pfs: Create other filesystem objects
Add interfaces to create filesystem objects like directory, device nodes, symbolic links, links for proxy filesytem driver Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p-proxy.h')
-rw-r--r--hw/9pfs/virtio-9p-proxy.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p-proxy.h b/hw/9pfs/virtio-9p-proxy.h
index 6172e5faba..675218c5ce 100644
--- a/hw/9pfs/virtio-9p-proxy.h
+++ b/hw/9pfs/virtio-9p-proxy.h
@@ -37,8 +37,14 @@ typedef struct {
#define PROXY_HDR_SZ (sizeof(ProxyHeader))
enum {
- T_OPEN = 1,
+ T_SUCCESS = 0,
+ T_ERROR,
+ T_OPEN,
T_CREATE,
+ T_MKNOD,
+ T_MKDIR,
+ T_SYMLINK,
+ T_LINK,
};
#endif