Re: [PATCH] KVM: Change [g|h]va_t as u64
From: Paolo Bonzini
Date: Mon Mar 09 2026 - 04:20:44 EST
Il dom 8 mar 2026, 13:58 Anshuman Khandual <anshuman.khandual@xxxxxxx>
ha scritto:
>
> On 06/03/26 11:46 PM, Sean Christopherson wrote:
> > On Fri, Mar 06, 2026, Anshuman Khandual wrote:
> >> Change both [g|h]va_t as u64 to be consistent with other address types.
> >
> > That's hilariously, blatantly wrong.
>
> Sorry did not understand how this is wrong. Both guest and host
> virtual address types should be be contained in u64 rather than
> 'unsigned long'. Did I miss something else here.
Virtual addresses are pointers and the pointer-sized integer type in
Linux is long.
You also didn't try compiling it on any architecture where this patch
would have made a difference.
Paolo
>