mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Indentation correction
This commit is contained in:
parent
9ac49a94d2
commit
021e176026
1 changed files with 20 additions and 20 deletions
40
quickemu
40
quickemu
|
@ -317,26 +317,26 @@ function vm_boot() {
|
||||||
# * VirtIO Memory Balloning is supported in Big Sur (https://pmhahn.github.io/virtio-balloon/)
|
# * VirtIO Memory Balloning is supported in Big Sur (https://pmhahn.github.io/virtio-balloon/)
|
||||||
# * VirtIO RNG is supported in Big Sur, but exposed to all guests.
|
# * VirtIO RNG is supported in Big Sur, but exposed to all guests.
|
||||||
case ${macos_release} in
|
case ${macos_release} in
|
||||||
catalina)
|
catalina)
|
||||||
BALLOON=""
|
BALLOON=""
|
||||||
MAC_DISK_DEV="virtio-blk-pci"
|
MAC_DISK_DEV="virtio-blk-pci"
|
||||||
NET_DEVICE="vmxnet3"
|
NET_DEVICE="vmxnet3"
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci"
|
||||||
;;
|
;;
|
||||||
big-sur)
|
big-sur)
|
||||||
BALLOON="-device virtio-balloon"
|
BALLOON="-device virtio-balloon"
|
||||||
MAC_DISK_DEV="virtio-blk-pci"
|
MAC_DISK_DEV="virtio-blk-pci"
|
||||||
NET_DEVICE="virtio-net"
|
NET_DEVICE="virtio-net"
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Backwards compatibility if no macos_release is specified.
|
# Backwards compatibility if no macos_release is specified.
|
||||||
# Also safe catch all for High Sierra and Mojave
|
# Also safe catch all for High Sierra and Mojave
|
||||||
BALLOON=""
|
BALLOON=""
|
||||||
MAC_DISK_DEV="ide-hd,bus=ahci.2"
|
MAC_DISK_DEV="ide-hd,bus=ahci.2"
|
||||||
NET_DEVICE="vmxnet3"
|
NET_DEVICE="vmxnet3"
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m')
|
OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m')
|
||||||
GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard"
|
GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue