From 0a60a9d16bcc0202e22871d0899716479119c1e8 Mon Sep 17 00:00:00 2001
From: Jerome Forissier <jerome.forissier@linaro.org>
Date: Fri, 13 Oct 2017 13:35:47 +0200
Subject: [PATCH] qemu: use 1 virtual CPUs (-smp 1) for "make check"

It seems that Shippable CI does not like running QEMU with 4 virtual
cores (or maybe we have a bug), because "make check" hangs when QEMU
is started with -smp 4. Revert to 1 core by default.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
---
 qemu.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu.mk b/qemu.mk
index 72ed066..54b5882 100644
--- a/qemu.mk
+++ b/qemu.mk
@@ -188,7 +188,7 @@ ifneq ($(TIMEOUT),)
 check-args += --timeout $(TIMEOUT)
 endif
 
-QEMU_SMP ?= 4
+QEMU_SMP ?= 1
 check: $(CHECK_DEPS)
 	cd $(BINARIES_PATH) && \
 		export QEMU=$(ROOT)/qemu/arm-softmmu/qemu-system-arm && \
-- 
GitLab