]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Free only the affected contexts when emulating INVEPT
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 20 Mar 2020 21:28:31 +0000 (14:28 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Apr 2020 13:12:58 +0000 (09:12 -0400)
commit56d30848d19008bb72c3e65e8de2732dab54175d
tree44a7747dda2302b8876c51e153a3685d1478eb25
parentab0d73eb8aab42accc30fac1c95d2cbf5a370ddd
KVM: nVMX: Free only the affected contexts when emulating INVEPT

Add logic to handle_invept() to free only those roots that match the
target EPT context when emulating a single-context INVEPT.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200320212833.3507-36-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c