diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-09-23 11:44:51 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-28 07:57:46 -0400 |
| commit | ebec153a056108ca7818caad549d3ad7c0f2369d (patch) | |
| tree | 05f1ed45c5d9fb7216abef904f07dce15856836e /tools/perf/scripts/python/bin | |
| parent | KVM: nVMX: Ensure vmcs01 is the loaded VMCS when freeing nested state (diff) | |
| download | linux-ebec153a056108ca7818caad549d3ad7c0f2369d.tar.gz linux-ebec153a056108ca7818caad549d3ad7c0f2369d.zip | |
KVM: nVMX: Drop redundant VMCS switch and free_nested() call
Remove the explicit switch to vmcs01 and the call to free_nested() in
nested_vmx_free_vcpu(). free_nested(), which is called unconditionally
by vmx_leave_nested(), ensures vmcs01 is loaded prior to freeing vmcs02
and friends.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923184452.980-7-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
