diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2015-11-24 16:54:37 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-06-21 09:43:42 +0200 |
commit | 13ee3f678b1117d7511a2c5e10549f7c37f4cadf (patch) | |
tree | 2ae8db27d2ed20581edd0ffdebdb164f0956e0c3 /arch/s390/kvm/vsie.c | |
parent | 5630a8e82b1ee4d13daa500c045603c5b4801fd9 (diff) | |
download | linux-13ee3f678b1117d7511a2c5e10549f7c37f4cadf.tar.gz linux-13ee3f678b1117d7511a2c5e10549f7c37f4cadf.tar.bz2 linux-13ee3f678b1117d7511a2c5e10549f7c37f4cadf.zip |
KVM: s390: vsie: support conditional-external-interception
We can easily enable cei for guest 2, so he can use it for guest 3.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/vsie.c')
-rw-r--r-- | arch/s390/kvm/vsie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index d29bd592fb3d..f3a4a0bad4a7 100644 --- a/arch/s390/kvm/vsie.c +++ b/arch/s390/kvm/vsie.c @@ -324,6 +324,8 @@ static int shadow_scb(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) scb_s->eca |= scb_o->eca & 0x00000001U; if (test_kvm_cpu_feat(vcpu->kvm, KVM_S390_VM_CPU_FEAT_IB)) scb_s->eca |= scb_o->eca & 0x40000000U; + if (test_kvm_cpu_feat(vcpu->kvm, KVM_S390_VM_CPU_FEAT_CEI)) + scb_s->eca |= scb_o->eca & 0x80000000U; prepare_ibc(vcpu, vsie_page); rc = shadow_crycb(vcpu, vsie_page); |