Skip to content

Commit c99107b

Browse files
rmgarayastro
authored andcommitted
use mapped security model in 9p shares
1 parent df3254b commit c99107b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/qemu.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ in {
201201
"-device" "vhost-user-fs-${devType},chardev=fs${toString index},tag=${tag}"
202202
];
203203
"9p" = [
204-
"-fsdev" "local,id=fs${toString index},path=${source},security_model=none"
204+
"-fsdev" "local,id=fs${toString index},path=${source},security_model=mapped"
205205
"-device" "virtio-9p-${devType},fsdev=fs${toString index},mount_tag=${tag}"
206206
];
207207
}.${proto}) (enumerate 0 shares)

0 commit comments

Comments
 (0)