mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-22 17:52:12 +01:00
Add hvf acceleration support for macOS
Signed-off-by: Meerthika <meerthikasrrajendrans@gmail.com>
This commit is contained in:
parent
01c6a3b9ec
commit
2da7f4907f
@ -218,8 +218,8 @@ else
|
||||
;;
|
||||
amd64-usr+*)
|
||||
set -- -machine q35 -cpu kvm64 -smp 1 -nographic "$@" ;;
|
||||
arm64-usr+aarch64)
|
||||
set -- -machine virt,accel=kvm,gic-version=3 -cpu host -smp "${VM_NCPUS}" -nographic "$@" ;;
|
||||
arm64-usr+aarch64|arm64-usr+arm64)
|
||||
set -- -machine virt,accel=kvm:hvf:tcg,gic-version=3 -cpu host -smp "${VM_NCPUS}" -nographic "$@" ;;
|
||||
arm64-usr+*)
|
||||
if test "${VM_NCPUS}" -gt 4 ; then
|
||||
VM_NCPUS=4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user