On Fri, 15 Mar 2024 10:35:07 -0400, Maxim Levitsky wrote:
max_guest_memory_test uses ucalls to sync with the host, but it also resets the guest RIP back to its initial value in between tests stages.
This makes the guest never reach the code which frees the ucall struct and since a fixed pool of 512 ucall structs is used, the test starts to fail when more that 256 vCPUs are used.
[...]
Applied to kvm-x86 fixes, thanks!
[1/1] KVM: selftests: fix max_guest_memory_test with more that 256 vCPUs https://github.com/kvm-x86/linux/commit/0ef2dd1f4144