]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_caps.c
ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Mon, 8 Oct 2018 03:25:39 +0000 (14:25 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Nov 2018 02:08:35 +0000 (13:08 +1100)
commitb9a477b725788e47bf653eab36e64f232d259f2a
treedf974bfb8f15165fd915a36f830548a4e30d39a9
parent56de52cad954a94530953bf979007db84c5f4dbb
ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV

Add the spapr cap SPAPR_CAP_NESTED_KVM_HV to be used to control the
availability of nested kvm-hv to the level 1 (L1) guest.

Assuming a hypervisor with support enabled an L1 guest can be allowed to
use the kvm-hv module (and thus run it's own kvm-hv guests) by setting:
-machine pseries,cap-nested-hv=true
or disabled with:
-machine pseries,cap-nested-hv=false

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_caps.c
include/hw/ppc/spapr.h
target/ppc/kvm.c
target/ppc/kvm_ppc.h