mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
feat: Disable VMX cpu flag (#312)
This commit is contained in:
parent
8e7572b1ff
commit
35c7419044
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ if [[ "$OSTYPE" =~ ^darwin ]]; then
|
|||
fi
|
||||
|
||||
CPU_VENDOR=$(lscpu | awk '/Vendor ID/{print $3}')
|
||||
DEFAULT_FLAGS="vendor=GenuineIntel,vmware-cpuid-freq=on,-pdpe1gb"
|
||||
DEFAULT_FLAGS="vendor=GenuineIntel,vmx=off,vmware-cpuid-freq=on,-pdpe1gb"
|
||||
|
||||
if [[ "$CPU_VENDOR" == "AuthenticAMD" || "${KVM:-}" == [Nn]* ]]; then
|
||||
[ -z "${CPU_MODEL:-}" ] && CPU_MODEL="Haswell-noTSX"
|
||||
|
|
|
|||
Loading…
Reference in a new issue