hw/9pfs: Add support to use named socket for proxy FSfor-upstream
commit79f2eb5ca7817584c64d488984712af32b44b689
authorM. Mohan Kumar <mohan@in.ibm.com>
Wed, 14 Dec 2011 08:28:47 +0000 (14 13:58 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 15 Dec 2011 07:49:36 +0000 (15 13:19 +0530)
tree3f766fe89f097fa36c1e7aa0c89a09a515500632
parent6283956dec8612f195d6c3efb9787f082bb80a76
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. We can achive the same using a shell script over
qemu and virtfs-proxy-helper using exec fd<><socket-path>, and then
passing that fd as argument to qemu and virtfs-proxy-helper. Also having
a server like virtfs-proxy-helper listening on a pathname without any
authentication is little bit scary. So we have to decide whether this
patch is really needed.

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
fsdev/file-op-9p.h
fsdev/virtfs-proxy-helper.c
fsdev/virtfs-proxy-helper.texi
hw/9pfs/virtio-9p-proxy.c
qemu-config.c
qemu-options.hx
vl.c