diff options
author | Farhan Ali | 2017-05-03 22:54:50 +0200 |
---|---|---|
committer | Christian Borntraeger | 2017-07-14 12:29:49 +0200 |
commit | c0a9cd940e6bbad75cef3b5e87b826125702c353 (patch) | |
tree | 02734bbcecc972b9a3157f33614af5d7bf821125 /target | |
parent | s390x/cpumodel: add esop/esop2 to z12 model (diff) | |
download | qemu-c0a9cd940e6bbad75cef3b5e87b826125702c353.tar.gz qemu-c0a9cd940e6bbad75cef3b5e87b826125702c353.tar.xz qemu-c0a9cd940e6bbad75cef3b5e87b826125702c353.zip |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/s390x/kvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |