[RFC PATCH v2 0/4] Enable async page faults on s390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gleb, Paolo, 

based on the work from Martin and Carsten, this implementation enables async page faults.
To the guest it will provide the pfault interface, but internally it uses the
async page fault common code. 

The inital submission and it's discussion can be followed on http://www.mail-archive.com/kvm@xxxxxxxxxxxxxxx/msg63359.html .

There is a slight modification for common code to move from a pull to a push based approch on s390. 
As s390 we don't want to wait till we leave the guest state to queue the notification interrupts.

To use this feature the controlling userspace hase to enable the capability.
With that knob we can later on disable this feature for live migration.

v1 -> v2:
 - Adding other architecture backends
 - Adding documentation for the ioctl
 - Improving the overall error handling
 - Reducing the needed modifications on the common code

Dominik Dingel (4):
  PF: Add FAULT_FLAG_RETRY_NOWAIT for guest fault
  PF: Move architecture specifics to the backends
  PF: Provide additional direct page notification
  PF: Async page fault support on s390

 Documentation/s390/kvm.txt          |  24 ++++++++
 arch/arm/include/asm/kvm_host.h     |   8 +++
 arch/ia64/include/asm/kvm_host.h    |   3 +
 arch/mips/include/asm/kvm_host.h    |   6 ++
 arch/powerpc/include/asm/kvm_host.h |   8 +++
 arch/s390/include/asm/kvm_host.h    |  34 +++++++++++
 arch/s390/include/asm/pgtable.h     |   2 +
 arch/s390/include/asm/processor.h   |   1 +
 arch/s390/include/uapi/asm/kvm.h    |  10 ++++
 arch/s390/kvm/Kconfig               |   2 +
 arch/s390/kvm/Makefile              |   2 +-
 arch/s390/kvm/diag.c                |  57 ++++++++++++++++++
 arch/s390/kvm/interrupt.c           |  38 +++++++++---
 arch/s390/kvm/kvm-s390.c            | 111 ++++++++++++++++++++++++++++++++++++
 arch/s390/kvm/kvm-s390.h            |   4 ++
 arch/s390/kvm/sigp.c                |   2 +
 arch/s390/mm/fault.c                |  26 +++++++--
 arch/x86/include/asm/kvm_host.h     |   8 +++
 arch/x86/kvm/mmu.c                  |   2 +-
 include/linux/kvm_host.h            |  10 +---
 include/uapi/linux/kvm.h            |   2 +
 virt/kvm/Kconfig                    |   4 ++
 virt/kvm/async_pf.c                 |  22 ++++++-
 23 files changed, 361 insertions(+), 25 deletions(-)

-- 
1.8.2.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux