mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
s390x/kvm: Enable KSS facility for nested virtualization
If the host supports keyless subset (KSS) then first level guest (G2) should enable KSS facility as well. Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com> Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
7223bccea3
commit
c0a9cd940e
@ -2508,6 +2508,7 @@ static int kvm_to_feat[][2] = {
|
||||
{ KVM_S390_VM_CPU_FEAT_CMMA, S390_FEAT_SIE_CMMA },
|
||||
{ KVM_S390_VM_CPU_FEAT_PFMFI, S390_FEAT_SIE_PFMFI},
|
||||
{ KVM_S390_VM_CPU_FEAT_SIGPIF, S390_FEAT_SIE_SIGPIF},
|
||||
{ KVM_S390_VM_CPU_FEAT_KSS, S390_FEAT_SIE_KSS},
|
||||
};
|
||||
|
||||
static int query_cpu_feat(S390FeatBitmap features)
|
||||
|
Loading…
Reference in New Issue
Block a user