Skip to content
Commit ba125de3 authored by Peter Xu's avatar Peter Xu Committed by Sean Christopherson
Browse files

KVM: selftests: Setup vcpu_alias only for minor mode test



This fixes two things:

- Unbreaks MISSING mode test on anonymous memory type

- Prefault alias mem before uffd thread creations, otherwise the uffd
  thread timing will be inaccurate when guest mem size is large, because
  it'll take prefault time into total time.

Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
Reviewed-by: default avatarJames Houghton <jthoughton@google.com>
Link: https://lore.kernel.org/r/20230427201112.2164776-2-peterx@redhat.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 56f413f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment