From: Suraj Jitindar Singh Date: Mon, 26 Aug 2019 06:21:08 +0000 Subject: [PATCH 22/23] KVM: PPC: Book3S HV: Nested: Enable nested hpt guests Message-Id: <20190826062109.7573-23-sjitindarsingh@gmail.com> List-Id: References: <20190826062109.7573-1-sjitindarsingh@gmail.com> In-Reply-To: <20190826062109.7573-1-sjitindarsingh@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org Cc: paulus@ozlabs.org, kvm@vger.kernel.org, Suraj Jitindar Singh Allow nested hpt (hash page table) guests to be run. Signed-off-by: Suraj Jitindar Singh --- arch/powerpc/kvm/book3s_hv_nested.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s_hv_nested.c b/arch/powerpc/kvm/book3s_hv_nested.c index 90788a52b298..bc7b411793be 100644 --- a/arch/powerpc/kvm/book3s_hv_nested.c +++ b/arch/powerpc/kvm/book3s_hv_nested.c @@ -330,7 +330,6 @@ long kvmhv_enter_nested_guest(struct kvm_vcpu *vcpu) (l2_hv.lpcr & LPCR_VPM1)) return H_PARAMETER; } else { - return H_PARAMETER; /* must be at least V2 to support hpt guest */ if (l2_hv.version < 2) return H_PARAMETER; -- 2.13.6