refactor: macOS big-sur and newer honour --sound-card configuration

This commit is contained in:
Martin Wimpress 2024-05-13 13:04:16 +01:00 committed by Martin Wimpress
parent 398d4e7246
commit b45926f83c
1 changed files with 1 additions and 0 deletions

View File

@ -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.