]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: nVMX: Add helper to put (unmap) vmcs12 pages
authorSean Christopherson <seanjc@google.com>
Thu, 10 Oct 2024 18:23:27 +0000 (11:23 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Oct 2024 16:57:59 +0000 (12:57 -0400)
commita629ef9518f5a59f79908d049144721cb2dd5b74
treececd8f00f2395e6886b2df5c95c05dba857ce711
parent2e34f942a5f251f426f240edf68197817935cd31
KVM: nVMX: Add helper to put (unmap) vmcs12 pages

Add a helper to dedup unmapping the vmcs12 pages.  This will reduce the
amount of churn when a future patch refactors the kvm_vcpu_unmap() API.

No functional change intended.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-26-seanjc@google.com>
arch/x86/kvm/vmx/nested.c