KVM: selftests: Use alloc page helper for xAPIC IPI test
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 20:05:19 +0000 (13:05 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 08:31:19 +0000 (04:31 -0400)
commit233446c1e68f6086a7f6738318a5314b528fb642
treea14f19b6f87f94a19a82bcabfb82ad3c132d550b
parent5ae4d8706f091278709cd8af410685dd17c1dca9
KVM: selftests: Use alloc page helper for xAPIC IPI test

Use the common page allocation helper for the xAPIC IPI test, effectively
raising the minimum virtual address from 0x1000 to 0x2000.  Presumably
the test won't explode if it can't get a page at address 0x1000...

Cc: Peter Shier <pshier@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622200529.3650424-10-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/xapic_ipi_test.c