summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemuarm.conf
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2023-02-21 15:44:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-23 12:10:09 +0000
commit70a91e6d0357149c00b97f7e66e16cbc52997a92 (patch)
treef59b5b5608ebd04ac1d6efa34a932b72d43ed968 /meta/conf/machine/qemuarm.conf
parent2f8c20ab6750bd900b28e6468493cbd010144050 (diff)
downloadopenembedded-core-70a91e6d0357149c00b97f7e66e16cbc52997a92.tar.gz
QB_SMP: allow user modification
Allow a user to override the QM_SMP value giving them the opportunity to select for themselves the number of CPUs to use in qemu. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuarm.conf')
-rw-r--r--meta/conf/machine/qemuarm.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 1bd4e3e154..c5234231e2 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -16,7 +16,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
QB_SYSTEM_NAME = "qemu-system-arm"
QB_MACHINE = "-machine virt,highmem=off"
QB_CPU = "-cpu cortex-a15"
-QB_SMP = "-smp 4"
+QB_SMP ?= "-smp 4"
# Standard Serial console
QB_KERNEL_CMDLINE_APPEND = "vmalloc=256"
# For graphics to work we need to define the VGA device as well as the necessary USB devices