mbox series

[QEMU-PPC,RFC,0/2] ppc/spapr: Add support for nested kvm-hv

Message ID 20180927065009.32154-1-sjitindarsingh@gmail.com (mailing list archive)
Headers show
Series ppc/spapr: Add support for nested kvm-hv | expand

Message

Suraj Jitindar Singh Sept. 27, 2018, 6:50 a.m. UTC
This patch series adds the qemu support for running nested kvm-hv on a
POWER9 platform with appropriate hypervisor support and migration of
these guests.
That is, the ability to run kvm-hv guests as guests of an operating system
which is itself a kvm-hv guest.

The host (L0 hypervisor) and level 1 guest (L1 guest hypervisor) require
the following patch series:
[RFC PATCH 00/32] KVM: PPC: Book3S HV: Nested HV virtualization

And this patch series in the qemu instance running on the L0 hypervisor.

Patch series based on: ppc-for-3.1

RFC because waiting for the CAP number to be in upstream linux

Suraj Jitindar Singh (2):
  target/ppc: Add one reg id for ptcr
  ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV

 hw/ppc/spapr.c                  |  2 ++
 hw/ppc/spapr_caps.c             | 29 +++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h          |  5 ++++-
 linux-headers/asm-powerpc/kvm.h |  1 +
 linux-headers/linux/kvm.h       |  1 +
 target/ppc/kvm.c                | 12 ++++++++++++
 target/ppc/kvm_ppc.h            | 12 ++++++++++++
 target/ppc/translate_init.inc.c | 10 +++++-----
 8 files changed, 66 insertions(+), 6 deletions(-)