libxl/xl: add support for Xen 9pfs
authorStefano Stabellini <sstabellini@kernel.org>
Mon, 27 Mar 2017 22:19:41 +0000 (15:19 -0700)
committerWei Liu <wei.liu2@citrix.com>
Wed, 29 Mar 2017 17:27:37 +0000 (18:27 +0100)
commitb53b4037cef6d15c3d29396648d893872fd9d910
tree9a0cc65f56ba7e3ff5bf9bf21fe132e52c477dca
parent4c8153d97efe087f139a28c096f825e8069a3931
libxl/xl: add support for Xen 9pfs

Add functions to libxl to setup a Xen 9pfs frontend/backend connection.
Add support to xl to parse a 9pfs option in the VM config file, in the
following format:

p9=["tag=share_dir,security_model=none,path=/root/share_dir"]

where tag identifies the 9pfs share and it is required to mount it on
the guest side, path is the path of the filesystem to share and the only
security_model supported is "none" which means that files are stored
using the same credentials as they are created on the guest (no user
ownership squash or remap).

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
docs/man/xl.cfg.pod.5.in
tools/libxl/Makefile
tools/libxl/libxl.h
tools/libxl/libxl_9pfs.c [new file with mode: 0644]
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/libxl_types_internal.idl
tools/xl/xl_parse.c