fix: don't declare SPICE as local within configure_ports. close #1240
Functionality was split across several functions in
e29173a16d
, so SPICE cannot be local
anymore as it is also referenced in vm_boot.
This commit is contained in:
parent
94035a5930
commit
a7271034cf
3
quickemu
3
quickemu
|
@ -995,7 +995,7 @@ function configure_ports() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${display}" == "none" ] || [ "${display}" == "spice" ] || [ "${display}" == "spice-app" ]; then
|
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)
|
# gl=on can be use with 'spice' too, but only over local connections (not tcp ports)
|
||||||
if [ "${display}" == "spice-app" ]; then
|
if [ "${display}" == "spice-app" ]; then
|
||||||
SPICE+=",gl=${gl}"
|
SPICE+=",gl=${gl}"
|
||||||
|
@ -1124,6 +1124,7 @@ function vm_boot() {
|
||||||
MAC_DISK_DEV="${MAC_DISK_DEV:-ide-hd,bus=ahci.2}"
|
MAC_DISK_DEV="${MAC_DISK_DEV:-ide-hd,bus=ahci.2}"
|
||||||
NET_DEVICE="${NET_DEVICE:-virtio-net}"
|
NET_DEVICE="${NET_DEVICE:-virtio-net}"
|
||||||
SOUND=""
|
SOUND=""
|
||||||
|
SPICE=""
|
||||||
SMM="${SMM:-off}"
|
SMM="${SMM:-off}"
|
||||||
local TEMP_PORT=""
|
local TEMP_PORT=""
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"
|
||||||
|
|
Loading…
Reference in New Issue