From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hildenbrand Subject: [PATCH v2 0/2] KVM: nVMX: remove nested_get_page() Date: Thu, 3 Aug 2017 18:11:03 +0200 Message-ID: <20170803161105.2846-1-david@redhat.com> Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , david@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:47022 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbdHCQLK (ORCPT ); Thu, 3 Aug 2017 12:11:10 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 094417EA92 for ; Thu, 3 Aug 2017 16:11:10 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: Let's just use the ordinary functons directly. The "nested" at that point is just confusing. All we want is a page from G1. v1 -> v2: - clear the page fields when releasing a page, so that we do't mess up reference counting in any scenario. David Hildenbrand (2): KVM: nVMX: get rid of nested_get_page() KVM: nVMX: get rid of nested_release_page* arch/x86/kvm/vmx.c | 98 ++++++++++++++++++++---------------------------- include/linux/kvm_host.h | 6 +++ 2 files changed, 47 insertions(+), 57 deletions(-) -- 2.9.4