The magic page allows us to speed up guests significantly on PR KVM. To enable
the magic page the guest needs to be able to issue KVM hypercalls. Information
on how to trigger them comes via device tree.

So far we didn't expose the respective device tree node on the sPAPR machine
type. Unfortunately during testing a number of issues got revealed when the
guest uses our magic page, so we only enable kvm hypercalls when the host kernel
is patched to make this a safe operation.

Alexander Graf (4):
  linux-headers: include psci.h
  linux-headers: update linux headers to kvm/next
  KVM: PPC: Expose fixup hcall capability
  PPC: spapr: Expose /hypervisor node in device tree

 hw/ppc/spapr.c                       | 20 ++++++++
 linux-headers/asm-arm/kvm.h          | 10 ++--
 linux-headers/asm-arm64/kvm.h        | 13 ++++--
 linux-headers/asm-mips/kvm.h         | 35 ++++++++++++++
 linux-headers/asm-powerpc/kvm.h      |  2 +-
 linux-headers/asm-powerpc/kvm_para.h |  6 +++
 linux-headers/linux/kvm.h            | 10 ++++
 linux-headers/linux/psci.h           | 90 ++++++++++++++++++++++++++++++++++++
 scripts/update-linux-headers.sh      |  3 +-
 target-ppc/kvm.c                     |  7 +++
 target-ppc/kvm_ppc.h                 |  6 +++
 11 files changed, 191 insertions(+), 11 deletions(-)
 create mode 100644 linux-headers/linux/psci.h

-- 
1.8.1.4


Reply via email to