From: Daan De Meyer Date: Sun, 10 Dec 2023 21:09:55 +0000 (+0100) Subject: qemu: Remove --posix-acl and add --no-announce-submounts to virtiofsd X-Git-Tag: v20~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94dd99a8aedb5d7a8685360e22b3e04c0163405;p=thirdparty%2Fmkosi.git qemu: Remove --posix-acl and add --no-announce-submounts to virtiofsd --posix-acl causes an error from virtiofsd saying the client doesn't support this feature. We also get a warning about announcing submounts not being supported so let's make sure we disable both features to avoid these warnings/errors. --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index d95140ed7..c7bfafb8e 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -313,7 +313,8 @@ def start_virtiofsd(directory: Path, *, uidmap: bool) -> Iterator[Path]: virtiofsd, "--shared-dir", directory, "--xattr", - "--posix-acl", + # qemu's client doesn't seem to support announcing submounts so disable the feature to avoid the warning. + "--no-announce-submounts", ] # Map the given user/group to root in the virtual machine for the virtiofs instance to make sure all files