qemush/qemu/launchers/spice

13 lines
404 B
Text
Raw Normal View History

#!/bin/sh -x
base=$(echo "$QEMUSH_BASE" | cut -d , -f 1)
QEMUSH_BASE=$(echo "$QEMUSH_BASE" | sed "s/^${base}//" | sed 's/^,//')
exec "$base" \
-vga qxl \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtio-serial \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
2024-03-09 00:14:07 +01:00
-spice port="$(first-free-port 5900)",addr=::1,disable-ticketing=on \
2024-03-08 23:48:29 +01:00
-audiodev spice,id=snd0 \
"$@"