Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-13 Thread Cornelia Huck
On Wed, 13 Sep 2017 14:10:53 +0200 David Hildenbrand wrote: > On 13.09.2017 09:19, Igor Mammedov wrote: > > On Tue, 12 Sep 2017 17:42:35 +0200 > > David Hildenbrand wrote: > > > >> On 12.09.2017 14:43, Igor Mammedov wrote: > >>> On Mon, 11 Sep 2017 17:21:40 +0200 > >>> David Hildenbrand wr

Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-13 Thread David Hildenbrand
On 13.09.2017 09:19, Igor Mammedov wrote: > On Tue, 12 Sep 2017 17:42:35 +0200 > David Hildenbrand wrote: > >> On 12.09.2017 14:43, Igor Mammedov wrote: >>> On Mon, 11 Sep 2017 17:21:40 +0200 >>> David Hildenbrand wrote: >>> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (

Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-13 Thread Igor Mammedov
On Tue, 12 Sep 2017 17:42:35 +0200 David Hildenbrand wrote: > On 12.09.2017 14:43, Igor Mammedov wrote: > > On Mon, 11 Sep 2017 17:21:40 +0200 > > David Hildenbrand wrote: > > > >> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (the > >> guest tries to bring these CPUs up but f

Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-12 Thread David Hildenbrand
On 12.09.2017 14:43, Igor Mammedov wrote: > On Mon, 11 Sep 2017 17:21:40 +0200 > David Hildenbrand wrote: > >> 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 support >> multiple CPUs on s390x under TCG. >> >> L

Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-12 Thread Igor Mammedov
On Mon, 11 Sep 2017 17:21:40 +0200 David Hildenbrand wrote: > 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 support > multiple CPUs on s390x under TCG. > > Let's bail out if more than 1 is specified, so we don

[Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-11 Thread David Hildenbrand
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 support multiple CPUs on s390x under TCG. Let's bail out if more than 1 is specified, so we don't raise people's hope. Make it a define, so we can easily bump it up la