Skip to content

Commit

Permalink
mantle/platform/qemu: pass --xattr to virtiofsd
Browse files Browse the repository at this point in the history
If we ever want to compose over virtiofsd we'll need xattr support.
  • Loading branch information
dustymabe committed Feb 6, 2024
1 parent e5efc3f commit 0daf8fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mantle/platform/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,8 @@ func createVirtiofsCmd(directory, socketPath string) exec.Cmd {
// We don't need seccomp filtering; we trust our workloads. This incidentally
// works around issues like https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/200.
args = append(args, "--seccomp=none")
// OSTree composes use xattrs
args = append(args, "--xattr")
cmd := exec.Command("/usr/libexec/virtiofsd", args...)
// This sets things up so that the `.` we passed in the arguments is the target directory
cmd.Dir = directory
Expand Down

0 comments on commit 0daf8fa

Please sign in to comment.