feat(quickget): add macOS Tahoe support and update board IDs. fixes #1731
This commit is contained in:
parent
959a9a3546
commit
848ed99ef6
4
quickemu
4
quickemu
|
|
@ -424,7 +424,7 @@ function configure_cpu() {
|
||||||
# A CPU with fma is required for Metal support
|
# A CPU with fma is required for Metal support
|
||||||
# A CPU with invtsc is required for macOS to boot
|
# A CPU with invtsc is required for macOS to boot
|
||||||
case ${macos_release} in
|
case ${macos_release} in
|
||||||
ventura|sonoma|sequoia)
|
ventura|sonoma|sequoia|tahoe)
|
||||||
# A CPU with AVX2 support is required for >= macOS Ventura
|
# A CPU with AVX2 support is required for >= macOS Ventura
|
||||||
if check_cpu_flag sse4_2 && check_cpu_flag avx2; then
|
if check_cpu_flag sse4_2 && check_cpu_flag avx2; then
|
||||||
if [ "${HOST_CPU_VENDOR}" != "GenuineIntel" ] && [ -z "${HYPERVISOR}" ]; then
|
if [ "${HOST_CPU_VENDOR}" != "GenuineIntel" ] && [ -z "${HYPERVISOR}" ]; then
|
||||||
|
|
@ -807,7 +807,7 @@ function configure_os_quirks() {
|
||||||
# * VirtIO Memory Balloning is supported since Big Sur (https://pmhahn.github.io/virtio-balloon/)
|
# * VirtIO Memory Balloning is supported since Big Sur (https://pmhahn.github.io/virtio-balloon/)
|
||||||
# * VirtIO RNG is supported since Big Sur, but exposed to all guests by default.
|
# * VirtIO RNG is supported since Big Sur, but exposed to all guests by default.
|
||||||
case ${macos_release} in
|
case ${macos_release} in
|
||||||
big-sur|monterey|ventura|sonoma|sequoia)
|
big-sur|monterey|ventura|sonoma|sequoia|tahoe)
|
||||||
BALLOON="-device virtio-balloon"
|
BALLOON="-device virtio-balloon"
|
||||||
MAC_DISK_DEV="virtio-blk-pci"
|
MAC_DISK_DEV="virtio-blk-pci"
|
||||||
NET_DEVICE="virtio-net-pci"
|
NET_DEVICE="virtio-net-pci"
|
||||||
|
|
|
||||||
15
quickget
15
quickget
|
|
@ -818,7 +818,7 @@ function releases_maboxlinux() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_macos() {
|
function releases_macos() {
|
||||||
echo mojave catalina big-sur monterey ventura sonoma sequoia
|
echo mojave catalina big-sur monterey ventura sonoma sequoia tahoe
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_mageia() {
|
function releases_mageia() {
|
||||||
|
|
@ -2074,15 +2074,20 @@ function get_macos() {
|
||||||
catalina|10.15)
|
catalina|10.15)
|
||||||
BOARD_ID="Mac-00BE6ED71E35EB86";;
|
BOARD_ID="Mac-00BE6ED71E35EB86";;
|
||||||
big-sur|11)
|
big-sur|11)
|
||||||
BOARD_ID="Mac-42FD25EABCABB274";;
|
BOARD_ID="Mac-2BD1B31983FE1663";;
|
||||||
monterey|12)
|
monterey|12)
|
||||||
BOARD_ID="Mac-E43C1C25D4880AD6";;
|
BOARD_ID="Mac-B809C3757DA9BB8D"
|
||||||
|
OS_TYPE="latest";;
|
||||||
ventura|13)
|
ventura|13)
|
||||||
BOARD_ID="Mac-BE088AF8C5EB4FA2";;
|
BOARD_ID="Mac-4B682C642B45593E"
|
||||||
|
OS_TYPE="latest";;
|
||||||
sonoma|14)
|
sonoma|14)
|
||||||
BOARD_ID="Mac-827FAC58A8FDFA22";;
|
BOARD_ID="Mac-827FAC58A8FDFA22";;
|
||||||
sequoia|15)
|
sequoia|15)
|
||||||
BOARD_ID="Mac-53FDB3D8DB8CA971";;
|
BOARD_ID="Mac-7BA5B2D9E42DDD94";;
|
||||||
|
tahoe|26)
|
||||||
|
BOARD_ID="Mac-CFF7D910A743CAAF"
|
||||||
|
OS_TYPE="latest";;
|
||||||
*) echo "ERROR! Unknown release: ${RELEASE}"
|
*) echo "ERROR! Unknown release: ${RELEASE}"
|
||||||
releases_macos
|
releases_macos
|
||||||
exit 1;;
|
exit 1;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue