From: Christian Borntraeger <borntraeger@linux.ibm.com>
To: Claudio Imbrenda <imbrenda@linux.ibm.com>,
Yvan Janssens <yvanj@cyber.gent>
Cc: Janosch Frank <frankja@linux.ibm.com>,
David Hildenbrand <david@kernel.org>,
Eric Farman <farman@linux.ibm.com>,
Hendrik Brueckner <brueckner@linux.ibm.com>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Sean Christopherson <seanjc@google.com>,
Shuah Khan <shuah@kernel.org>,
kvm@vger.kernel.org, linux-s390@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] KVM: s390: selftests: Add a test for nested guests in ESA mode
Date: Fri, 27 Nov 2026 08:56:15 +0100 [thread overview]
Message-ID: <a5b3119b-4986-411f-a03a-06b411c07c73@linux.ibm.com> (raw)
In-Reply-To: <20261126153745.399d7f3d@p-imbrenda>
Am 26.11.26 um 15:37 schrieb Claudio Imbrenda:
> On Wed, 25 Nov 2026 17:56:03 +0100
> Yvan Janssens <yvanj@cyber.gent> wrote:
>
>> Run a nested guest from a state description without the z/Architecture
>> flag, with KVM_CAP_S390_VSIE_ESAMODE enabled, and let it execute STORE
>> FACILITY LIST EXTENDED twice. vsie intercepts the first one of every SIE
>> entry to shadow the facility list guest 2 designates and then has the
>> instruction repeated.
>>
>> The test checks that the second doubleword of the PSW field, which is not
>> part of an ESA/390 PSW, comes back unchanged, that the PSW points behind
>> the last instruction, and that the first instruction stored the
>> designated list. What the second instruction stored is printed for
>> diagnosis.
>>
>> The test is skipped without the capability, without interpretive
>> execution for the guest (SIEF2) and without facility 7 in the guest's
>> model.
>
> which KVM ioctls are you testing here?
>
> are you sure that this is the right place for this test? my impression
> is that this would be done more cleanly as a kvm-unit-test
We are explicitely testing 2 levels of SIE here and one level is a private
"hypervisor". I think this would require some changes in kvm-unit-test/snippets.
So in general I an fine with taking that via selftests.
Janosch, any concerns and opinions?
prev parent reply other threads:[~2026-11-27 7:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 16:56 [PATCH v2 0/2] KVM: s390: vsie: fix instruction retry " Yvan Janssens
2026-11-25 16:56 ` [PATCH v2 1/2] KVM: s390: vsie: Rewind the PSW of ESA mode guests in the right format Yvan Janssens
2026-11-26 8:32 ` Christian Borntraeger
2026-11-26 12:35 ` Janosch Frank
2026-11-25 16:56 ` [PATCH v2 2/2] KVM: s390: selftests: Add a test for nested guests in ESA mode Yvan Janssens
2026-11-26 9:13 ` Christian Borntraeger
2026-11-26 14:37 ` Claudio Imbrenda
2026-11-27 7:56 ` Christian Borntraeger [this message]
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=a5b3119b-4986-411f-a03a-06b411c07c73@linux.ibm.com \
--to=borntraeger@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=brueckner@linux.ibm.com \
--cc=david@kernel.org \
--cc=farman@linux.ibm.com \
--cc=frankja@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=shuah@kernel.org \
--cc=svens@linux.ibm.com \
--cc=yvanj@cyber.gent \
/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
all inboxes | Powered by JetHome®