]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Replace "vaddr" with "gva" throughout
authorSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:20:01 +0000 (14:20 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:54:17 +0000 (14:54 -0700)
commit014dfb7b9bf3ff49261b47fbe56b42fc8ed06fc5
tree1aed9e5d81f504c2e2fc8582af3d7025a9138192
parenta662c4e03853304ff0967c756659366efdc9ea49
KVM: selftests: Replace "vaddr" with "gva" throughout

Replace all variations of "vaddr" variables in KVM selftests with "gva",
with the exception of the ELF structures, as those fields are not specific
to guest virtual addresses, to complete the conversion from vm_vaddr_t to
gva_t.

Opportunistically use gva_t instead of u64 for relevant variables, and
fixup indentation as appropriate.

No functional change intended.

Link: https://patch.msgid.link/20260420212004.3938325-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
16 files changed:
tools/testing/selftests/kvm/access_tracking_perf_test.c
tools/testing/selftests/kvm/arm64/page_fault_test.c
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/include/memstress.h
tools/testing/selftests/kvm/include/x86/processor.h
tools/testing/selftests/kvm/lib/arm64/processor.c
tools/testing/selftests/kvm/lib/elf.c
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/loongarch/processor.c
tools/testing/selftests/kvm/lib/memstress.c
tools/testing/selftests/kvm/lib/riscv/processor.c
tools/testing/selftests/kvm/lib/s390/processor.c
tools/testing/selftests/kvm/lib/ucall_common.c
tools/testing/selftests/kvm/lib/x86/processor.c
tools/testing/selftests/kvm/s390/ucontrol_test.c
tools/testing/selftests/kvm/x86/xapic_ipi_test.c