refactor: macOS big-sur and newer honour --sound-card configuration
This commit is contained in:
parent
398d4e7246
commit
b45926f83c
1
quickemu
1
quickemu
|
@ -611,6 +611,7 @@ function vm_boot() {
|
||||||
NET_DEVICE="virtio-net"
|
NET_DEVICE="virtio-net"
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="nec-usb-xhci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="nec-usb-xhci"
|
||||||
GUEST_TWEAKS="${GUEST_TWEAKS} -global nec-usb-xhci.msi=off"
|
GUEST_TWEAKS="${GUEST_TWEAKS} -global nec-usb-xhci.msi=off"
|
||||||
|
sound_card="${sound_card:-usb-audio}"
|
||||||
usb_controller="xhci";;
|
usb_controller="xhci";;
|
||||||
*)
|
*)
|
||||||
# Backwards compatibility if no macos_release is specified.
|
# Backwards compatibility if no macos_release is specified.
|
||||||
|
|
Loading…
Reference in New Issue