KVM: s390: Add KVM capability for ESA mode guests

Now that all the bits are properly addressed, provide a mechanism
for testing ESA mode guests in nested configurations.

Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
[farman@us.ibm.com: Updated commit message]
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
This commit is contained in:
Hendrik Brueckner
2026-04-01 17:12:21 +02:00
committed by Janosch Frank
parent c0dcada088
commit 4aebd7d5c7
3 changed files with 15 additions and 0 deletions

View File

@@ -9428,6 +9428,14 @@ KVM exits with the register state of either the L1 or L2 guest
depending on which executed at the time of an exit. Userspace must
take care to differentiate between these cases.
8.47 KVM_CAP_S390_VSIE_ESAMODE
------------------------------
:Architectures: s390
The presence of this capability indicates that the nested KVM guest can
start in ESA mode.
9. Known KVM API problems
=========================