2023-12-04 13:11:13 +01:00
|
|
|
#!/bin/sh -x
|
2024-03-08 23:47:48 +01:00
|
|
|
base=$(echo "$QEMUSH_BASE" | cut -d , -f 1)
|
|
|
|
QEMUSH_BASE=$(echo "$QEMUSH_BASE" | cut -d , -f 2-)
|
|
|
|
|
|
|
|
exec "$base" \
|
2023-12-04 13:11:13 +01:00
|
|
|
-vga qxl \
|
|
|
|
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
|
2023-12-13 13:04:35 +01:00
|
|
|
-device virtio-serial \
|
2023-12-04 13:11:13 +01:00
|
|
|
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
|
2024-01-25 16:14:57 +01:00
|
|
|
-spice port="$(first-free-port 5900)",addr=127.0.0.1,disable-ticketing=on \
|
2023-12-04 13:11:13 +01:00
|
|
|
"$@"
|