diff options
| author | Sean Christopherson <[email protected]> | 2021-04-06 10:18:09 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-20 04:18:49 -0400 |
| commit | d1788191fdb03691059ab7aeed36206977f2d784 (patch) | |
| tree | 197947d4c29777031b5d7a4e8429cabe7eb99ffa /tools/perf/scripts/python | |
| parent | 17e5e964eee05a3ee434cf0958ecce741a6874b1 (diff) | |
KVM: SVM: Drop vcpu_svm.vmcb_pa
Remove vmcb_pa from vcpu_svm and simply read current_vmcb->pa directly in
the one path where it is consumed. Unlike svm->vmcb, use of the current
vmcb's address is very limited, as evidenced by the fact that its use
can be trimmed to a single dereference.
Opportunistically add a comment about using vmcb01 for VMLOAD/VMSAVE, at
first glance using vmcb01 instead of vmcb_pa looks wrong.
No functional change intended.
Cc: Maxim Levitsky <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions