From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9MMM-0003ev-2X for qemu-devel@nongnu.org; Sun, 07 Oct 2018 23:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9MBE-0008Dm-Mv for qemu-devel@nongnu.org; Sun, 07 Oct 2018 23:26:03 -0400 From: Suraj Jitindar Singh Date: Mon, 8 Oct 2018 14:25:36 +1100 Message-Id: <20181008032539.6437-1-sjitindarsingh@gmail.com> Subject: [Qemu-devel] [QEMU-PPC] [PATCH V2 0/3] ppc/spapr: Add support for nested kvm-hv List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: david@gibson.dropbear.id.au Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, paulus@ozlabs.org, sjitindarsingh@gmail.com 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: 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 Still waiting for the cap number and one reg id to be confirmed in linux. Changes RFC -> V2: - Split header changes into separate patch - Reword error messages when enabling nested-hv with kvm Suraj Jitindar Singh (3): target/ppc: Update linux-headers for v4.19-rc7 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 | 32 ++++++++++++++++++++++++++++++++ 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, 69 insertions(+), 6 deletions(-) -- 2.13.6