From c5cfc4c57f6acb4e1955aa2cd18d7a9062a67acb Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Tue, 2 Jan 2018 16:55:28 +0100 Subject: 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 --- templates/machines/qemux86-64.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") %} -- cgit 1.2.3-korg