From a7271034cfb23202ea6ec6d6314f985fa0ef73fc Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Sun, 2 Jun 2024 16:53:27 +0200 Subject: [PATCH] fix: don't declare SPICE as local within configure_ports. close #1240 Functionality was split across several functions in e29173a16d5fb1546a725a28bc8973007b228bbe, so SPICE cannot be local anymore as it is also referenced in vm_boot. --- quickemu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 497d3b7..8514ad0 100755 --- a/quickemu +++ b/quickemu @@ -995,7 +995,7 @@ function configure_ports() { fi if [ "${display}" == "none" ] || [ "${display}" == "spice" ] || [ "${display}" == "spice-app" ]; then - local SPICE="disable-ticketing=on" + SPICE="disable-ticketing=on" # gl=on can be use with 'spice' too, but only over local connections (not tcp ports) if [ "${display}" == "spice-app" ]; then SPICE+=",gl=${gl}" @@ -1124,6 +1124,7 @@ function vm_boot() { MAC_DISK_DEV="${MAC_DISK_DEV:-ide-hd,bus=ahci.2}" NET_DEVICE="${NET_DEVICE:-virtio-net}" SOUND="" + SPICE="" SMM="${SMM:-off}" local TEMP_PORT="" USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"