mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
board/common: add fallback to tcg acceleration in make run
Align both qemu targets for 'make run' to use kvm with tcg as fallback and -cpu max instead of guessing. This allows running Infix on systems that do not have, or do not allow, kvm acceleration. This is a temporary fix before we refactor 'make run', see issue #388 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -63,8 +63,8 @@ endchoice
|
||||
|
||||
config QEMU_MACHINE
|
||||
string "Select emulated machine"
|
||||
default "qemu-system-aarch64 -M virt -cpu cortex-a72" if QEMU_aarch64
|
||||
default "qemu-system-x86_64 -M q35,accel=kvm -cpu host" if QEMU_x86_64
|
||||
default "qemu-system-aarch64 -M virt,accel=kvm:tcg -cpu max" if QEMU_aarch64
|
||||
default "qemu-system-x86_64 -M pc,accel=kvm:tcg -cpu max" if QEMU_x86_64
|
||||
help
|
||||
You should not have to change this setting, although you may
|
||||
want to tweak it, or change the acceleration.
|
||||
|
||||
Reference in New Issue
Block a user