]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Use gpa_t for GPAs in Hyper-V selftests
authorDavid Matlack <dmatlack@google.com>
Mon, 20 Apr 2026 21:19:48 +0000 (14:19 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:54:16 +0000 (14:54 -0700)
commit6d3494255ac0180d3047ea632367718e0625bd2c
tree26d734eaf5fdbe8e49192f7f274ca7a68b4d7916
parent97dcda3fdce5f4f0d689a097f1ff13e1f76f8f49
KVM: selftests: Use gpa_t for GPAs in Hyper-V selftests

Fix various Hyper-V selftests to use gpa_t for variables that contain
guest physical addresses, rather than gva_t.  In practice, the bugs are
benign as both gva_t and gpa_t are u64 typedefs, i.e. gpa_t and gva_t are
interchangeable from a functional perspective, the code is just confusing.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
[sean: call out that both are u64 typedefs]
Link: https://patch.msgid.link/20260420212004.3938325-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/hyperv_evmcs.c
tools/testing/selftests/kvm/x86/hyperv_features.c
tools/testing/selftests/kvm/x86/hyperv_ipi.c
tools/testing/selftests/kvm/x86/hyperv_svm_test.c