diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2013-10-07 17:11:48 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-01-30 13:11:02 +0100 |
commit | 3c038e6be0e299d4d3762d0a9a29f02de6e04991 (patch) | |
tree | 06f0c3a8debccb32b2388d57990aba5f4e363ea3 /arch/s390/kvm/kvm-s390.h | |
parent | 9f2ceda49c6b8827c795731c204f6c2587886e2c (diff) | |
download | talos-obmc-linux-3c038e6be0e299d4d3762d0a9a29f02de6e04991.tar.gz talos-obmc-linux-3c038e6be0e299d4d3762d0a9a29f02de6e04991.zip |
KVM: async_pf: Async page fault support on s390
This patch enables async page faults for s390 kvm guests.
It provides the userspace API to enable and disable_wait this feature.
The disable_wait will enforce that the feature is off by waiting on it.
Also it includes the diagnose code, called by the guest to enable async page faults.
The async page faults will use an already existing guest interface for this
purpose, as described in "CP Programming Services (SC24-6084)".
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.h')
-rw-r--r-- | arch/s390/kvm/kvm-s390.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h index f9559b0bd620..ed4750a5bc3c 100644 --- a/arch/s390/kvm/kvm-s390.h +++ b/arch/s390/kvm/kvm-s390.h @@ -159,4 +159,8 @@ void exit_sie_sync(struct kvm_vcpu *vcpu); /* implemented in diag.c */ int kvm_s390_handle_diag(struct kvm_vcpu *vcpu); +/* implemented in interrupt.c */ +int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu); +int psw_extint_disabled(struct kvm_vcpu *vcpu); + #endif |