diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2011-07-24 04:48:17 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-07-24 04:48:20 -0400 |
commit | bb25b9ba3e33e941dc48048d0a784e6a05e5648a (patch) | |
tree | 687caacfbe9165dd80d2e29af4b68ce32216e28d /arch/s390/kvm/kvm-s390.h | |
parent | b02f0c2ea25781e0f94b4fc8f6f85582057857b3 (diff) |
[S390] kvm: handle tprot intercepts
When running a kvm guest we can get intercepts for tprot, if the host
page table is read-only or not populated. This patch implements the
most common case (linux memory detection).
This also allows host copy on write for guest memory on newer systems.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.h')
-rw-r--r-- | arch/s390/kvm/kvm-s390.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h index a7b7586626db..65e2201a555b 100644 --- a/arch/s390/kvm/kvm-s390.h +++ b/arch/s390/kvm/kvm-s390.h | |||
@@ -87,6 +87,7 @@ static inline void kvm_s390_vcpu_set_mem(struct kvm_vcpu *vcpu) | |||
87 | 87 | ||
88 | /* implemented in priv.c */ | 88 | /* implemented in priv.c */ |
89 | int kvm_s390_handle_b2(struct kvm_vcpu *vcpu); | 89 | int kvm_s390_handle_b2(struct kvm_vcpu *vcpu); |
90 | int kvm_s390_handle_e5(struct kvm_vcpu *vcpu); | ||
90 | 91 | ||
91 | /* implemented in sigp.c */ | 92 | /* implemented in sigp.c */ |
92 | int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu); | 93 | int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu); |