[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 11/19] s390x: allow only 1 CPU with TCG
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 11/19] s390x: allow only 1 CPU with TCG |
Date: |
Wed, 6 Sep 2017 14:20:09 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/06/2017 11:16 AM, Matthew Rosato wrote:
> On 09/04/2017 11:43 AM, 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't raise people's
>> hope. Make it a define, so we can easily bump it up later.
>>
>> Signed-off-by: David Hildenbrand <address@hidden>
>> ---
>
> Makes sense. Ran the described environment without this patch (errors)
> and again with this patch (graceful exit w/ message).
>
> Tested-by: Matthew Rosato <address@hidden>
Can someone review
http://patchwork.ozlabs.org/patch/760010/
which does at least start to add the SIGP support.
Once tcg can bring up 2 cpus, I see no reason it couldn't bring up N. I don't
see the point of the define.
r~
- Re: [Qemu-devel] [PATCH v2 08/19] s390x: move sclp_service_call() to interrupt.c, (continued)
[Qemu-devel] [PATCH v2 09/19] target/s390x: use trigger_pgm_exception() in s390_cpu_handle_mmu_fault(), David Hildenbrand, 2017/09/04
[Qemu-devel] [PATCH v2 10/19] target/s390x: use program_interrupt() in per_check_exception(), David Hildenbrand, 2017/09/04
[Qemu-devel] [PATCH v2 11/19] s390x: allow only 1 CPU with TCG, David Hildenbrand, 2017/09/04
[Qemu-devel] [PATCH v2 12/19] target/s390x: set cpu->id for linux user when realizing, David Hildenbrand, 2017/09/04
[Qemu-devel] [PATCH v2 14/19] target/s390x: rename next_cpu_id to next_core_id, David Hildenbrand, 2017/09/04
[Qemu-devel] [PATCH v2 13/19] target/s390x: use "core-id" for cpu number/address/id handling, David Hildenbrand, 2017/09/04