Now with automatic id mapping selection.
Ján Tomko (9):
conf: move idmap definition earlier
conf: move idmap parsing earlier
conf: add idmap element to filesystem
qemu: format uid/gid map for virtiofs
qemu: virtiofs: do not force UID 0
qemu: allow running virtiofsd in session mode
util: add virGetSubUIDs
qemu: virtiofs: auto-fill idmap for unprivileged use
docs: virtiofs: add section about ID remapping
docs/formatdomain.rst | 8 +
docs/kbase/virtiofs.rst | 19 +++
src/conf/domain_conf.c | 152 ++++++++++++------
src/conf/domain_conf.h | 29 ++--
src/conf/schemas/domaincommon.rng | 3 +
src/libvirt_private.syms | 2 +
src/qemu/qemu_validate.c | 7 +-
src/qemu/qemu_virtiofs.c | 95 ++++++++++-
src/util/virutil.c | 70 ++++++++
src/util/virutil.h | 12 ++
.../vhost-user-fs-fd-memory.xml | 4 +
tests/utiltest.c | 33 ++++
tests/virutiltestdata/subuid | 4 +
13 files changed, 362 insertions(+), 76 deletions(-)
create mode 100644 tests/virutiltestdata/subuid
--
2.42.0