Re: [PATCH 2/2] kvm: selftests: introduce and use more page size-related constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 21, 2022 at 12:28:25PM -0400, Paolo Bonzini wrote:
> Clean up code that was hardcoding masks for various fields,
> now that the masks are included in processor.h.
> 
> For more cleanup, define PAGE_SIZE and PAGE_MASK just like in Linux.
> PAGE_SIZE in particular was defined by several tests.
> 
> Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Reviewed-by: Peter Xu <peterx@xxxxxxxxxx>

-- 
Peter Xu




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux