summaryrefslogtreecommitdiffstats
path: root/fsdev/qemu-fsdev.c
diff options
context:
space:
mode:
authorM. Mohan Kumar2011-12-14 09:19:28 +0100
committerAneesh Kumar K.V2012-01-04 15:43:39 +0100
commit4c793dda22213a7aba8e4d9a814e8f368a5f8bf7 (patch)
tree8e74ae998bb6e9edcc1376f9c9464d3fa7d4744d /fsdev/qemu-fsdev.c
parenthw/9pfs: Add validation to {un}marshal code (diff)
downloadqemu-4c793dda22213a7aba8e4d9a814e8f368a5f8bf7.tar.gz
qemu-4c793dda22213a7aba8e4d9a814e8f368a5f8bf7.tar.xz
qemu-4c793dda22213a7aba8e4d9a814e8f368a5f8bf7.zip
hw/9pfs: Add new proxy filesystem driver
Add new proxy filesystem driver to add root privilege to qemu process. It needs a helper process to be started by root user. Following command line can be used to utilize proxy filesystem driver -virtfs proxy,id=<id>,mount_tag=<tag>,socket_fd=<socket-fd> 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 'fsdev/qemu-fsdev.c')
-rw-r--r--fsdev/qemu-fsdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsdev/qemu-fsdev.c b/fsdev/qemu-fsdev.c
index 00f48ab44c..e20202a4bf 100644
--- a/fsdev/qemu-fsdev.c
+++ b/fsdev/qemu-fsdev.c
@@ -27,6 +27,7 @@ static FsDriverTable FsDrivers[] = {
{ .name = "handle", .ops = &handle_ops},
#endif
{ .name = "synth", .ops = &synth_ops},
+ { .name = "proxy", .ops = &proxy_ops},
};
int qemu_fsdev_add(QemuOpts *opts)