summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roos <throos@amazon.de>2023-03-03 10:23:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-06 09:52:16 +0000
commit8cbc5846413e6591bbcfcca24e54afad1ca4a52e (patch)
tree44b034b825e810ba7dbecc1ec9520ec49946c12f
parent676afe15f66d25e391f2de886321738fcea1ec8e (diff)
downloadpoky-8cbc5846413e6591bbcfcca24e54afad1ca4a52e.tar.gz
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>
-rw-r--r--meta/conf/machine/include/x86/qemuboot-x86.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/machine/include/x86/qemuboot-x86.inc b/meta/conf/machine/include/x86/qemuboot-x86.inc
index dd7e7c9384..6ae03633ae 100644
--- a/meta/conf/machine/include/x86/qemuboot-x86.inc
+++ b/meta/conf/machine/include/x86/qemuboot-x86.inc
@@ -1,11 +1,11 @@
1# For runqemu 1# For runqemu
2IMAGE_CLASSES += "qemuboot" 2IMAGE_CLASSES += "qemuboot"
3QB_SMP ?= "-smp 4" 3QB_SMP ?= "-smp 4"
4QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" 4QB_CPU:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
5QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" 5QB_CPU_KVM:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
6 6
7QB_CPU:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" 7QB_CPU:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
8QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" 8QB_CPU_KVM:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
9 9
10QB_AUDIO_DRV = "alsa" 10QB_AUDIO_DRV = "alsa"
11QB_AUDIO_OPT = "-device AC97" 11QB_AUDIO_OPT = "-device AC97"