diff options
author | Thomas Roos <throos@amazon.de> | 2023-03-03 10:23:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-06 09:52:16 +0000 |
commit | 8cbc5846413e6591bbcfcca24e54afad1ca4a52e (patch) | |
tree | 44b034b825e810ba7dbecc1ec9520ec49946c12f | |
parent | 676afe15f66d25e391f2de886321738fcea1ec8e (diff) | |
download | poky-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.inc | 8 |
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 |
2 | IMAGE_CLASSES += "qemuboot" | 2 | IMAGE_CLASSES += "qemuboot" |
3 | QB_SMP ?= "-smp 4" | 3 | QB_SMP ?= "-smp 4" |
4 | QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" | 4 | QB_CPU:x86 ?= "-cpu IvyBridge -machine q35,i8042=off" |
5 | QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" | 5 | QB_CPU_KVM:x86 ?= "-cpu IvyBridge -machine q35,i8042=off" |
6 | 6 | ||
7 | QB_CPU:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" | 7 | QB_CPU:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off" |
8 | QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" | 8 | QB_CPU_KVM:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off" |
9 | 9 | ||
10 | QB_AUDIO_DRV = "alsa" | 10 | QB_AUDIO_DRV = "alsa" |
11 | QB_AUDIO_OPT = "-device AC97" | 11 | QB_AUDIO_OPT = "-device AC97" |