On Fri, Oct 23, 2020 at 05:58:12PM +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > The mapping rule system implemented in the last few patches is > extremely flexible, but not easy to use. Add a simple > 'map' type as a sprinkling of sugar to make it easy. > > e.g. > > -o xattrmap=":map::user.virtiofs.:" > > would be sufficient to prefix all xattr's > or > > -o xattrmap=":map:trusted.:user.virtiofs.:" > > would just prefix 'trusted.' xattr's and leave > everything else alone. > > Signed-off-by: Dr. David Alan Gilbert > --- > docs/tools/virtiofsd.rst | 19 ++++++ > tools/virtiofsd/passthrough_ll.c | 112 ++++++++++++++++++++++++++++++- > 2 files changed, 130 insertions(+), 1 deletion(-) Reviewed-by: Stefan Hajnoczi