]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Use "gpa" and "gva" for local variable names in pre-fault test
authorSean Christopherson <seanjc@google.com>
Tue, 7 Oct 2025 22:45:15 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Oct 2025 15:59:30 +0000 (08:59 -0700)
commit9e4ce7a89e0b5f1d400f05533f38fe2590166ea6
tree09f9d52dabcaa1ee703f720d9b03a1b3a7af1572
parent17e5a9b77716564540d81f0c1e6082d28cf305c9
KVM: selftests: Use "gpa" and "gva" for local variable names in pre-fault test

Rename guest_test_{phys,virt}_mem to g{p,v}a in the pre-fault memory test
to shorten line lengths and to use standard terminology.

Opportunsitically use "base_gva" in the guest code instead of "base_gpa"
to match the host side code, which now passes in "gva" (and because
referencing the virtual address avoids having to know that the data is
identity mapped).

No functional change intended.

Cc: Yan Zhao <yan.y.zhao@intel.com>
Link: https://lore.kernel.org/r/20251007224515.374516-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/pre_fault_memory_test.c