mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
macOS Ventura support
This commit is contained in:
parent
a9bfb2dbf6
commit
ed91e62042
2 changed files with 5 additions and 6 deletions
6
quickemu
6
quickemu
|
@ -304,8 +304,8 @@ function vm_boot() {
|
|||
GUEST_CPU_THREADS=1
|
||||
GUEST_CPU_LOGICAL_CORES=${GUEST_CPU_CORES}
|
||||
fi
|
||||
|
||||
local SMP="-smp cores=${GUEST_CPU_LOGICAL_CORES},threads=${GUEST_CPU_THREADS},sockets=${HOST_CPU_SOCKETS}"
|
||||
local SMP="-smp cores=4,threads=1,sockets=1"
|
||||
#local SMP="-smp cores=${GUEST_CPU_LOGICAL_CORES},threads=${GUEST_CPU_THREADS},sockets=${HOST_CPU_SOCKETS}"
|
||||
echo " - CPU: ${HOST_CPU_MODEL}"
|
||||
echo -n " - CPU VM: ${HOST_CPU_SOCKETS} Socket(s), ${GUEST_CPU_LOGICAL_CORES} Core(s), ${GUEST_CPU_THREADS} Thread(s)"
|
||||
|
||||
|
@ -511,7 +511,7 @@ function vm_boot() {
|
|||
case ${macos_release} in
|
||||
ventura)
|
||||
if check_cpu_flag sse4_1 && check_cpu_flag avx2; then
|
||||
CPU="-cpu Haswell,kvm=on,vendor=GenuineIntel,+hypervisor,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt"
|
||||
CPU="-cpu Haswell,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc,+avx2"
|
||||
else
|
||||
echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support."
|
||||
exit 1
|
||||
|
|
5
quickget
5
quickget
|
@ -1531,7 +1531,7 @@ function get_macos() {
|
|||
local CWD=""
|
||||
local MACRECOVERY=""
|
||||
local MLB="00000000000000000"
|
||||
local OS_TYPE="default"
|
||||
local OS_TYPE="latest"
|
||||
|
||||
case ${RELEASE} in
|
||||
lion) #10.7
|
||||
|
@ -1565,8 +1565,7 @@ function get_macos() {
|
|||
monterey) #12
|
||||
BOARD_ID="Mac-E43C1C25D4880AD6";;
|
||||
ventura) #13
|
||||
echo "ERROR! Not yet supported: ${RELEASE}"
|
||||
exit 1;;
|
||||
BOARD_ID="Mac-7BA5B2D9E42DDD94";;
|
||||
*) echo "ERROR! Unknown release: ${RELEASE}"
|
||||
releases_macos
|
||||
exit 1;;
|
||||
|
|
Loading…
Reference in a new issue