From: Collin Walling <walling@linux.ibm.com>
To: Cornelia Huck <cohuck@redhat.com>, David Hildenbrand <david@redhat.com>
Cc: mst@redhat.com, qemu-devel@nongnu.org, pasic@linux.ibm.com,
Christian Borntraeger <borntraeger@de.ibm.com>,
qemu-s390x@nongnu.org, pbonzini@redhat.com, rth@twiddle.net
Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH v4] s390: diagnose 318 info reset and migration support
Date: Thu, 16 May 2019 09:35:56 -0400 [thread overview]
Message-ID: <c4704f1e-34fe-6c69-8532-6ee1e9cb4bdf@linux.ibm.com> (raw)
In-Reply-To: <20190514113005.2d0c2b1c.cohuck@redhat.com>
On 5/14/19 5:30 AM, Cornelia Huck wrote:
> On Tue, 14 May 2019 11:27:32 +0200
> David Hildenbrand <david@redhat.com> wrote:
>
>> On 14.05.19 11:25, Christian Borntraeger wrote:
>>>
>>>
>>> On 14.05.19 11:23, Christian Borntraeger wrote:
>>>>
>>>>
>>>> On 14.05.19 11:20, David Hildenbrand wrote:
>>>>> On 14.05.19 11:10, Christian Borntraeger wrote:
>>>>>>
>>>>>>
>>>>>> On 14.05.19 10:59, David Hildenbrand wrote:
>
>>>>>>> We can
>>>>>>>
>>>>>>> 1. Fail to start with #cpus > 240 when diag318=on
>>>>>>> 2. Remove the error once we support more than one SCLP response page
>>>>>>>
>>>>>>> Or
>>>>>>>b
>>>>>>> 1. Allow to start with #cpus > 240 when diag318=on, but indicate only
>>>>>>> 240 CPUs via SCLP
>>>>>>> 2. Print a warning
>>>>>>> 3. Remove the restriction and the warning once we support more than one
>>>>>>> SCLP response page
>>>>>>>
>>>>>>> While I prefer the second approach (similar to defining zPCI devices
>>>>>>> without zpci=on), I could also live with the first approach.
>>>>>>
>>>>>> I prefer approach 1.
>>>>>>
>>>>>
>>>>> Isn't approach #2 what we discussed (limiting sclp, but of course to 247
>>>>> CPUs), but with an additional warning? I'm confused.
>>>>
>>>> Different numbering interpretion. I was talking about 1 = "Allow to start with #cpus > 240 when diag318=on, but indicate only
>>>> 240 CPUs via SCLP"
>>>
>>> So yes, variant 2 when I use your numbering. The only question is: do we need
>>> a warning? It probably does not hurt.
>>
>> After all, we are talking about 1 VCPU that the guest can only use by
>> indirect probing ... I leave that up to Collin :)
>
> I'd prefer a warning... even if it is a corner case, I think it's
> better to be explicit instead of silent.
>
Thanks for the discussion. I'll implement diag318 as a CPU feature again
and adjust the max_cpu handling (to 247 now instead of 240).
Question: should diag318 be enabled by default for current CPU models?
What should we do in the case where diag318=on but KVM does not support
handling?
I am not familiar with how close QEMU and KVM versions stay in sync.
next prev parent reply other threads:[~2019-05-16 13:37 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-01 22:31 [Qemu-devel] [PATCH v4] s390: diagnose 318 info reset and migration support Collin Walling
2019-05-01 22:31 ` Collin Walling
2019-05-09 9:58 ` Christian Borntraeger
2019-05-09 10:05 ` David Hildenbrand
2019-05-09 20:50 ` Collin Walling
2019-05-13 5:56 ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2019-05-13 7:46 ` [Qemu-devel] " David Hildenbrand
2019-05-13 8:03 ` David Hildenbrand
2019-05-13 9:34 ` Christian Borntraeger
2019-05-13 9:40 ` David Hildenbrand
2019-05-13 9:51 ` Christian Borntraeger
2019-05-13 9:57 ` David Hildenbrand
2019-05-13 10:55 ` Christian Borntraeger
2019-05-13 11:34 ` David Hildenbrand
2019-05-13 11:46 ` Cornelia Huck
2019-05-14 7:09 ` Christian Borntraeger
2019-05-14 7:28 ` David Hildenbrand
2019-05-14 8:37 ` Christian Borntraeger
2019-05-14 8:49 ` Cornelia Huck
2019-05-14 8:53 ` Christian Borntraeger
2019-05-14 8:59 ` David Hildenbrand
2019-05-14 9:07 ` Christian Borntraeger
2019-05-14 9:12 ` Cornelia Huck
2019-05-14 9:10 ` Christian Borntraeger
2019-05-14 9:20 ` David Hildenbrand
2019-05-14 9:23 ` Christian Borntraeger
2019-05-14 9:25 ` [Qemu-devel] [qemu-s390x] " Christian Borntraeger
2019-05-14 9:27 ` David Hildenbrand
2019-05-14 9:30 ` Cornelia Huck
2019-05-16 13:35 ` Collin Walling [this message]
2019-05-16 14:10 ` Christian Borntraeger
2019-05-14 8:50 ` [Qemu-devel] " David Hildenbrand
2019-05-14 8:56 ` Christian Borntraeger
2019-05-14 9:00 ` Cornelia Huck
2019-05-14 9:03 ` David Hildenbrand
2019-05-14 9:05 ` David Hildenbrand
2019-05-14 9:00 ` David Hildenbrand
2019-05-14 9:04 ` Christian Borntraeger
2019-05-16 12:42 ` Collin Walling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4704f1e-34fe-6c69-8532-6ee1e9cb4bdf@linux.ibm.com \
--to=walling@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=mst@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).