Add negotiation modes to --posix-acl and --security-label

When --posix-acl is enabled, virtiofsd fails to start on guests that lack ACL support, breaking software that enables it unconditionally (e.g., Incus).

Convert --posix-acl from a boolean flag to a mode parameter (always/auto/never) that controls POSIX ACL capability negotiation.

For consistency, we also add negotiation modes to --security-label.

For backward compatibility, --posix-acl/--security-label without a value defaults to 'always' and the flag defaults to 'never' when omitted.

Fixes: #228 (closed)

Replaces: !317 (closed)

Merge request reports

Loading
Loading