qemuboot-x86.inc: allow overwrite of QB_CPU

To test nested kvm with qemu QB_CPU* needs to be modified.
E.g. set to "-cpu Haswell-noTSX-IBRS,vmx=on"

This allows to overwrite this from local.conf etc.

(From OE-Core rev: aa9d145d90893b04cde197e9b5f4dc574e4738e1)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Thomas Roos
2023-03-03 10:23:27 +01:00
committed by Richard Purdie
parent 676afe15f6
commit 8cbc584641

View File

@@ -1,11 +1,11 @@
# For runqemu
IMAGE_CLASSES += "qemuboot"
QB_SMP ?= "-smp 4"
QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU_KVM:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU:x86-64 = "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
QB_CPU_KVM:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
QB_AUDIO_DRV = "alsa"
QB_AUDIO_OPT = "-device AC97"