KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:18 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:40 +0000 (05:27 -0500)
commit74953d3530280dc53256054e1906f58d07bfba44
tree95d114e4f83b0345762d1004499da6936c6e57a9
parente139a34ef9d5627a41e1c02210229082140d1f92
KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn

The goal_gfn field in tdp_iter can be misleading as it implies that it
is the iterator's final goal. It is really a target for the lowest gfn
mapped by the leaf level SPTE the iterator will traverse towards. Change
the field's name to be more precise.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-13-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_iter.c
arch/x86/kvm/mmu/tdp_iter.h