Add initial support for macOS Monterey

This commit is contained in:
Martin Wimpress 2021-10-27 11:56:56 +01:00
parent 3459aa8325
commit 1421492f87
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
2 changed files with 7 additions and 3 deletions

View File

@ -469,7 +469,7 @@ function vm_boot() {
NET_DEVICE="vmxnet3"
USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci"
;;
big-sur)
big-sur|monterey)
BALLOON="-device virtio-balloon"
MAC_DISK_DEV="virtio-blk-pci"
NET_DEVICE="virtio-net"
@ -639,7 +639,7 @@ function vm_boot() {
# - VGA is used on Mojave, although available resolutions are all 4:3
# - High Sierra will run at the default 1920x1080 only.
case ${macos_release} in
catalina|big-sur) DISPLAY_DEVICE="qxl";;
catalina|big-sur|monterey) DISPLAY_DEVICE="qxl";;
*) DISPLAY_DEVICE="VGA";;
esac
elif [ "${guest_os}" == "windows" ]; then

View File

@ -180,7 +180,8 @@ function releases_macos() {
echo high-sierra \
mojave \
catalina \
big-sur
big-sur \
monterey
}
function releases_popos() {
@ -760,6 +761,9 @@ function get_macos() {
big-sur)
BOARD_ID="Mac-E43C1C25D4880AD6"
MLB="00000000000000000";;
monterey)
BOARD_ID="Mac-06F11F11946D27C5"
MLB="00000000000000000";;
*) echo "ERROR! Unknown release: ${RELEASE}"
releases_macos
exit 1;;