diff options
| author | 2021-11-24 20:20:44 +0800 | |
|---|---|---|
| committer | 2021-12-08 04:25:10 -0500 | |
| commit | 1f5a21ee8400ccc82c67dc8c153301f694a04099 (patch) | |
| tree | 8bc38fd9b52c3e1fec4b1a6a0898ac824eefd5ee /tools/perf/scripts/python/netdev-times.py | |
| parent | KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes (diff) | |
| download | linux-dev-1f5a21ee8400ccc82c67dc8c153301f694a04099.tar.xz linux-dev-1f5a21ee8400ccc82c67dc8c153301f694a04099.zip | |
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 <laijs@linux.alibaba.com>
Message-Id: <20211124122055.64424-3-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
