diff options
| author | Peng Hao <flyingpeng@tencent.com> | 2022-02-22 18:40:54 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-25 08:20:13 -0500 |
| commit | fbc2dfe53a222619b01f451f5bfc206738d53854 (patch) | |
| tree | 08b1c43746eab7ec31ec6953cd01485a4b4dc053 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | Merge branch 'kvm-hv-xmm-hypercall-fixes' into HEAD (diff) | |
| download | linux-fbc2dfe53a222619b01f451f5bfc206738d53854.tar.gz linux-fbc2dfe53a222619b01f451f5bfc206738d53854.zip | |
KVM: nVMX: Make setup/unsetup under the same conditions
Make sure nested_vmx_hardware_setup/unsetup() are called in pairs under
the same conditions. Calling nested_vmx_hardware_unsetup() when nested
is false "works" right now because it only calls free_page() on zero-
initialized pointers, but it's possible that more code will be added to
nested_vmx_hardware_unsetup() in the future.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <20220222104054.70286-1-flyingpeng@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
