launchers : suppression virtiofs

This commit is contained in:
Ahurac 2024-03-26 09:57:17 +01:00
parent 7d0a44df21
commit 5e9491e095

View file

@ -1,15 +0,0 @@
#!/bin/sh -x
base=$(echo "$QEMUSH_BASE" | cut -d , -f 1)
QEMUSH_BASE=$(echo "$QEMUSH_BASE" | sed "s/^${base}//" | sed 's/^,//')
. /run/runit/service/virtiofsd/conf
if [ -S "$socket" ]; then set -- \
-chardev socket,id=char0,path="${socket}" \
-device vhost-user-fs-pci,chardev=char0,tag=shared \
-object memory-backend-memfd,id=mem,size="${QEMUSH_RAM}",share=on \
-numa node,memdev=mem \
"$@"
fi
exec "$base" "$@"