Skip to content

Commit 0daf8fa

Browse files
committed
mantle/platform/qemu: pass --xattr to virtiofsd
If we ever want to compose over virtiofsd we'll need xattr support.
1 parent e5efc3f commit 0daf8fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mantle/platform/qemu.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,8 @@ func createVirtiofsCmd(directory, socketPath string) exec.Cmd {
16261626
// We don't need seccomp filtering; we trust our workloads. This incidentally
16271627
// works around issues like https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/200.
16281628
args = append(args, "--seccomp=none")
1629+
// OSTree composes use xattrs
1630+
args = append(args, "--xattr")
16291631
cmd := exec.Command("/usr/libexec/virtiofsd", args...)
16301632
// This sets things up so that the `.` we passed in the arguments is the target directory
16311633
cmd.Dir = directory

0 commit comments

Comments
 (0)