diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-27 04:24:41 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-27 04:24:41 -0400 |
| commit | 39f1c201b93f4ff71631bac72cff6eb155f976a4 (patch) | |
| tree | f90db9f427fa7a64674f3edfcf23739e9a2b6593 /kernel | |
| parent | 909eac682c984c3cb02485d5950c2a8d573c1667 (diff) | |
| parent | dfd2a8b07c6cc94145e11d87d2f11137d6444854 (diff) | |
Merge tag 'kvm-x86-selftests_kernel_types-7.1' of https://github.com/kvm-x86/linux into HEAD
KVM selftests type renames for 7.1
Renames types across all KVM selftests to more closely align with types used
in the kernel:
vm_vaddr_t -> gva_t
vm_paddr_t -> gpa_t
uint64_t -> u64
uint32_t -> u32
uint16_t -> u16
uint8_t -> u8
int64_t -> s64
int32_t -> s32
int16_t -> s16
int8_t -> s8
Using the kernel's preferred types eliminates a source of friction for many
contributors, as the majority of KVM selftests contributions come from kernel
developers. The kernel names are also shorter, which allows for more concise
code, and in any many cases eliminates newlines thanks to shorter types and
parameter names.
Rename variables and parameters as well as types, e.g. gpa instead of paddr,
to again align with the kernel, and in a few cases to remove ambiguity, e.g.
where paddr is used to refer to a _host_ physical address.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
