mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-23 18:21:34 +01:00
Merge pull request #3351 from flatcar/scripts
Add hvf acceleration support for macOS
This commit is contained in:
commit
26340fdd65
@ -218,8 +218,8 @@ else
|
|||||||
;;
|
;;
|
||||||
amd64-usr+*)
|
amd64-usr+*)
|
||||||
set -- -machine q35 -cpu kvm64 -smp 1 -nographic "$@" ;;
|
set -- -machine q35 -cpu kvm64 -smp 1 -nographic "$@" ;;
|
||||||
arm64-usr+aarch64)
|
arm64-usr+aarch64|arm64-usr+arm64)
|
||||||
set -- -machine virt,accel=kvm,gic-version=3 -cpu host -smp "${VM_NCPUS}" -nographic "$@" ;;
|
set -- -machine virt,accel=kvm:hvf:tcg,gic-version=3 -cpu host -smp "${VM_NCPUS}" -nographic "$@" ;;
|
||||||
arm64-usr+*)
|
arm64-usr+*)
|
||||||
if test "${VM_NCPUS}" -gt 4 ; then
|
if test "${VM_NCPUS}" -gt 4 ; then
|
||||||
VM_NCPUS=4
|
VM_NCPUS=4
|
||||||
|
|||||||
1
changelog/bugfixes/2025-10-08-macos-hvf-accel.md
Normal file
1
changelog/bugfixes/2025-10-08-macos-hvf-accel.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Fixed the QEMU launcher script to include HVF acceleration on arm64-based Macs for faster performance ([Flatcar#1901](https://github.com/flatcar/Flatcar/issues/1901))
|
||||||
Loading…
x
Reference in New Issue
Block a user