Re: [PATCH 05/15] KVM: selftests: Require GPA to be aligned when backed by hugepages

2021-02-10 Thread Ben Gardon
On Wed, Feb 10, 2021 at 3:06 PM Sean Christopherson wrote: > > Assert that the GPA for a memslot backed by a hugepage is 1gb aligned, > and fix perf_test_util accordingly. Lack of GPA alignment prevents KVM > from backing the guest with hugepages, e.g. x86's write-protection of > hugepages when d

[PATCH 05/15] KVM: selftests: Require GPA to be aligned when backed by hugepages

2021-02-10 Thread Sean Christopherson
Assert that the GPA for a memslot backed by a hugepage is 1gb aligned, and fix perf_test_util accordingly. Lack of GPA alignment prevents KVM from backing the guest with hugepages, e.g. x86's write-protection of hugepages when dirty logging is activated is otherwise not exercised. Add a comment e