KVM: async_pf: Async page fault support on s390
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Mon, 7 Oct 2013 15:11:48 +0000 (17:11 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 30 Jan 2014 12:11:02 +0000 (13:11 +0100)
commit3c038e6be0e299d4d3762d0a9a29f02de6e04991
tree06f0c3a8debccb32b2388d57990aba5f4e363ea3
parent9f2ceda49c6b8827c795731c204f6c2587886e2c
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>
12 files changed:
Documentation/virtual/kvm/devices/s390_flic.txt
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/Kconfig
arch/s390/kvm/Makefile
arch/s390/kvm/diag.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/sigp.c
arch/s390/kvm/trace.h
include/uapi/linux/kvm.h