qemush/qemu/launchers/spice

12 lines
373 B
Bash
Executable file

#!/bin/sh -x
base=$(echo "$QEMUSH_BASE" | cut -d , -f 1)
QEMUSH_BASE=$(echo "$QEMUSH_BASE" | cut -d , -f 2-)
exec "$base" \
-vga qxl \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtio-serial \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
-spice unix,addr="$(pathof spice)",disable-ticketing=on \
-audiodev spice,id=snd0 \
"$@"