From c0a9cd940e6bbad75cef3b5e87b826125702c353 Mon Sep 17 00:00:00 2001 From: Farhan Ali Date: Wed, 3 May 2017 16:54:50 -0400 Subject: 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 Reviewed-by: Eric Farman Acked-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- target/s390x/kvm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index 8c6cc0aaf7..c773bd6eac 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -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) -- cgit v1.2.3-55-g7522