KVM: selftests: Allocate ucall pool from MEM_REGION_DATA
authorOliver Upton <oliver.upton@linux.dev>
Wed, 7 Dec 2022 21:48:08 +0000 (21:48 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Dec 2022 08:13:39 +0000 (09:13 +0100)
commit2afc1fbbdab2aee831561f09f859989dcd5ed648
tree23d36442bbc30c81213f7a91304818c9386c7b0b
parente8b9a055fa0481679132781db574ecb771960f16
KVM: selftests: Allocate ucall pool from MEM_REGION_DATA

MEM_REGION_TEST_DATA is meant to hold data explicitly used by a
selftest, not implicit allocations due to the selftests infrastructure.
Allocate the ucall pool from MEM_REGION_DATA much like the rest of the
selftests library allocations.

Fixes: 426729b2cf2e ("KVM: selftests: Add ucall pool based implementation")
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Message-Id: <20221207214809.489070-5-oliver.upton@linux.dev>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/ucall_common.c