From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsATZ-0006uc-Jt for qemu-devel@nongnu.org; Wed, 13 Sep 2017 12:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsATU-00080I-LL for qemu-devel@nongnu.org; Wed, 13 Sep 2017 12:25:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34040) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dsATU-0007zV-FY for qemu-devel@nongnu.org; Wed, 13 Sep 2017 12:25:16 -0400 References: <20170913132417.24384-1-david@redhat.com> <20170913132417.24384-12-david@redhat.com> <87lglia85d.fsf@linaro.org> From: David Hildenbrand Message-ID: Date: Wed, 13 Sep 2017 18:25:10 +0200 MIME-Version: 1.0 In-Reply-To: <87lglia85d.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 11/22] s390x: allow only 1 CPU with TCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, Matthew Rosato , thuth@redhat.com, Eduardo Habkost , cohuck@redhat.com, Richard Henderson , Alexander Graf , Markus Armbruster , borntraeger@de.ibm.com, Igor Mammedov , Paolo Bonzini On 13.09.2017 18:13, Alex Benn=C3=A9e wrote: >=20 > David Hildenbrand writes: >=20 >> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (the >> guest tries to bring these CPUs up but fails), because we don't suppor= t >> multiple CPUs on s390x under TCG. >> >> Let's bail out if more than 1 is specified, so we don't raise people's >> hope. >=20 > Why does this restriction exist? Without MTTCG enabled -smp > 1 should > be safe from any races. Because the actual SIGP code (instruction to start/stop ... CPUs) is not implemented yet. --=20 Thanks, David