diff options
| author | Lai Jiangshan <[email protected]> | 2021-11-24 20:20:44 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:25:10 -0500 |
| commit | 1f5a21ee8400ccc82c67dc8c153301f694a04099 (patch) | |
| tree | 8bc38fd9b52c3e1fec4b1a6a0898ac824eefd5ee /tools/perf/scripts/python/bin | |
| parent | b46a13cb7ea1137b2e01dfaafcacd5cd79db8390 (diff) | |
KVM: X86: Add parameter struct kvm_mmu *mmu into mmu->gva_to_gpa()
The mmu->gva_to_gpa() has no "struct kvm_mmu *mmu", so an extra
FNAME(gva_to_gpa_nested) is needed.
Add the parameter can simplify the code. And it makes it explicit that
the walk is upon vcpu->arch.walk_mmu for gva and vcpu->arch.mmu for L2
gpa in translate_nested_gpa() via the new parameter.
Signed-off-by: Lai Jiangshan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions