Meta: Fix SPICE detection in run.sh

The previous fix did not work for me, but this does. :^)

Credit goes to @X-yl for actually figuring it out.
This commit is contained in:
Sam Atkins 2021-07-14 20:10:29 +01:00 committed by Gunnar Beutner
parent 7fa71fb7eb
commit fa7a6fbedd
Notes: sideshowbarker 2024-07-18 09:02:48 +09:00

View file

@ -148,7 +148,7 @@ $SERENITY_SPICE_SERVER_CHARDEV
-device ich9-ahci,bus=bridge3
"
if "${SERENITY_QEMU_BIN}" --help | grep -iq spice; then
if "${SERENITY_QEMU_BIN}" -chardev help | grep -iq spice; then
SERENITY_COMMON_QEMU_ARGS="$SERENITY_COMMON_QEMU_ARGS
-spice port=5930,agent-mouse=off,disable-ticketing=on
-device virtserialport,chardev=vdagent,nr=1