From b67592ea567dd8d19c4274eb35580e5922783c89 Mon Sep 17 00:00:00 2001 From: "M. Mohan Kumar" Date: Tue, 22 Jun 2010 12:25:22 +0530 Subject: qemu: virtio-9p: Implement TMKDIR Synopsis size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4] size[4] Rmkdir tag[2] qid[13] Description mkdir asks the file server to create a directory with given name, mode and gid. The qid for the new directory is returned with the mkdir reply message. Note: 72 is selected as the opcode for TMKDIR from the reserved list. Signed-off-by: M. Mohan Kumar [jvrao@linux.vnet.ibm.com: Fix perm handling when creating directory] Signed-off-by: Venkateswararao Jujjuri --- hw/virtio-9p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/virtio-9p.h') diff --git a/hw/virtio-9p.h b/hw/virtio-9p.h index 8ba45ac10a..91cc0aed0f 100644 --- a/hw/virtio-9p.h +++ b/hw/virtio-9p.h @@ -29,6 +29,8 @@ enum { P9_RREADDIR, P9_TLINK = 70, P9_RLINK, + P9_TMKDIR = 72, + P9_RMKDIR, P9_TVERSION = 100, P9_RVERSION, P9_TAUTH = 102, -- cgit v1.2.3