diff options
author | M. Mohan Kumar <mohan@in.ibm.com> | 2011-12-14 13:58:47 +0530 |
---|---|---|
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-01-04 21:23:55 +0530 |
commit | 84a87cc4cc77f9e6829e20726f00646afe12deed (patch) | |
tree | 5f49882c7c36956365a51fca322bfda42c1c393e /qemu-config.c | |
parent | a2d8f1beb11004e76aec5cd05ecb62f2b1037598 (diff) |
hw/9pfs: Add support to use named socket for proxy FS
Add option to use named socket for communicating between proxy helper
and qemu proxy FS. Access to socket can be given by using command line
options -u and -g.
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 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index 1bdc01ca6..ecc88e8d4 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -211,6 +211,10 @@ QemuOptsList qemu_fsdev_opts = { }, { .name = "readonly", .type = QEMU_OPT_BOOL, + + }, { + .name = "socket", + .type = QEMU_OPT_STRING, }, { .name = "sock_fd", .type = QEMU_OPT_NUMBER, @@ -244,6 +248,9 @@ QemuOptsList qemu_virtfs_opts = { .name = "readonly", .type = QEMU_OPT_BOOL, }, { + .name = "socket", + .type = QEMU_OPT_STRING, + }, { .name = "sock_fd", .type = QEMU_OPT_NUMBER, }, |