[PATCH 00/10] KVM: selftests: Convert to kernel-style types

David Matlack dmatlack at google.com
Fri Oct 17 15:38:45 PDT 2025


On Thu, May 1, 2025 at 2:03 PM Sean Christopherson <seanjc at google.com> wrote:
> On Thu, May 01, 2025, David Matlack wrote:
> > This series renames types across all KVM selftests to more align with
> > types used in the kernel:
> >
> >   vm_vaddr_t -> gva_t
> >   vm_paddr_t -> gpa_t
>
> 10000% on these.
>
> >   uint64_t -> u64
> >   uint32_t -> u32
> >   uint16_t -> u16
> >   uint8_t  -> u8
> >
> >   int64_t -> s64
> >   int32_t -> s32
> >   int16_t -> s16
> >   int8_t  -> s8
>
> I'm definitely in favor of these renames.  I thought I was the only one that
> tripped over the uintNN_t stuff; at this point, I've probably lost hours of my
> life trying to type those things out.

What should the next step be here? I'd be happy to spin a new version
whenever on whatever base commit you prefer.



More information about the linux-riscv mailing list