Re: [PATCH] selftests: kvm: fix overlapping addresses in memslot_perf_test

From: Maciej S. Szmigiero
Date: Fri May 28 2021 - 15:52:24 EST


On 28.05.2021 21:11, Paolo Bonzini wrote:
The memory that is allocated in vm_create is already mapped close to
GPA 0, because test_execute passes the requested memory to
prepare_vm. This causes overlapping memory regions and the
test crashes. For simplicity just move MEM_GPA higher.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

I am not sure that I understand the issue correctly, is vm_create_default()
already reserving low GPAs (around 0x10000000) on some arches or run
environments?

Thanks,
Maciej