Re: [PATCH v3 5/6] KVM: PPC: Add support for nestedv2 guests

2023-08-17 Thread Michael Ellerman
Jordan Niethe writes: > A series of hcalls have been added to the PAPR which allow a regular > guest partition to create and manage guest partitions of its own. KVM > already had an interface that allowed this on powernv platforms. This > existing interface will now be called "nestedv1". The newly

Re: [PATCH v3 5/6] KVM: PPC: Add support for nestedv2 guests

2023-08-16 Thread Michael Ellerman
Jordan Niethe writes: > diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c > index 2357545dffd7..7d5edbc6ecd9 100644 > --- a/arch/powerpc/kvm/book3s_hv.c > +++ b/arch/powerpc/kvm/book3s_hv.c > @@ -4165,7 +4231,10 @@ static int kvmhv_p9_guest_entry(struct kvm_vcpu *vcpu, > u6

[PATCH v3 5/6] KVM: PPC: Add support for nestedv2 guests

2023-08-06 Thread Jordan Niethe
A series of hcalls have been added to the PAPR which allow a regular guest partition to create and manage guest partitions of its own. KVM already had an interface that allowed this on powernv platforms. This existing interface will now be called "nestedv1". The newly added PAPR interface will be c