Skip to content

virtiofsd xattr name mappings

Dr. David Alan Gilbert (git) qemu-devel virtio-fs 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 8 repliesIn review
  2. v35 patches 26 repliesSuperseded
  3. v26 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tools/virtiofsd: xattr name mappings: Add optiondocs/tools/virtiofsd.rst tools/virtiofsd/passthrough_ll.c+265 -01 reply
2/5tools/virtiofsd: xattr name mappings: Map client xattr namestools/virtiofsd/passthrough_ll.c+98 -31 reply
3/5tools/virtiofsd: xattr name mappings: Map server xattr namestools/virtiofsd/passthrough_ll.c+90 -01 reply
4/5tools/virtiofsd: xattr name mapping examplesdocs/tools/virtiofsd.rst+50 -02 replies
5/5tools/virtiofsd: xattr name mappings: Simple 'map'docs/tools/virtiofsd.rst tools/virtiofsd/passthrough_ll.c+130 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan Hajnoczi
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] virtiofsd xattr name mappings

From: "Dr. David Alan Gilbert" <[email protected]>

This is the 4th cut of an xattr name mapping option for virtiofsd. It allows the user of virtiofsd to define a fairly flexible mapping from the view of the xattr names the host fs has and the ones that the guest sees.

The hope is this allows things like:
a) Different selinux attributes on host/guest
b) separation of trusted. attributes that clash on overlayfs
c) support for privileged xattr's in guests running with an unprivileged virtiofsd.

There's no apparent standard for this kind of mapping, so I made it flexible by specifying a mapping rule in the option.

Prefix's can be added (selectively or globally), xattr's can be dropped in either direction or passed through.

v4
cleanups from Stefan and Vivek's reviews

Dave

Dr. David Alan Gilbert (5):
tools/virtiofsd: xattr name mappings: Add option tools/virtiofsd: xattr name mappings: Map client xattr names tools/virtiofsd: xattr name mappings: Map server xattr names tools/virtiofsd: xattr name mapping examples tools/virtiofsd: xattr name mappings: Simple 'map'

 docs/tools/virtiofsd.rst         | 161 +++++++++++
 tools/virtiofsd/passthrough_ll.c | 474 ++++++++++++++++++++++++++++++-
 2 files changed, 632 insertions(+), 3 deletions(-)
Signature · 1 line
2.28.0