summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2018-01-02 16:55:28 +0100
committerLoys Ollivier <lollivier@baylibre.com>2018-01-02 16:55:28 +0100
commitc5cfc4c57f6acb4e1955aa2cd18d7a9062a67acb (patch)
treeaf8f89cfd2ee142430f6057a2dd34f886e731c2a /templates
parent3d72115300354b0e95dd61cd5dfe3b823233a4ac (diff)
templates/machines/qemux86-64.jinja2: add smp parameter to qemu machine
There is a deadlock at boot time in the current AGL builds which is non critical. Add the smp option to created qemu machines. So they can use 2 cores and finish booting. Change-Id: I26198d1c3191acd98b96558af0abc976c971690a Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/machines/qemux86-64.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2
index 94e69e1..a0a01b1 100644
--- a/templates/machines/qemux86-64.jinja2
+++ b/templates/machines/qemux86-64.jinja2
@@ -5,7 +5,7 @@
{%- set device_arch = "x86_64" %}
{%- set device_mach = "x86" %}
{%- set qemu_arch = "x86_64" %}
-{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -m 1048 -soundhw hda" %}
+{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 1048 -soundhw hda" %}
{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda debug verbose" %}
{%- set rootfs_type = rootfs_type|default("ramdisk") %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemux86-64.ext4.xz") %}