qemush/qemu/launchers/virtiofs

7 lines
247 B
Bash
Executable file

#!/bin/sh -x
exec "${QEMUSH_BASE}" \
-chardev socket,id=char0,path=/run/virtiofsd.sock \
-device vhost-user-fs-pci,chardev=char0,tag=shared \
-object memory-backend-memfd,id=mem,size="${QEMUSH_RAM}",share=on \
-numa node,memdev=mem \
"$@"