qemush/qemu/launchers/kvm-spice

8 lines
238 B
Text
Raw Normal View History

#!/bin/sh -x
2023-12-13 12:41:28 +01:00
exec kvm \
-vga qxl \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
-spice port="$(first-free-port 5900)",addr=127.0.0.1,disable-ticketing=on \
"$@"