summaryrefslogtreecommitdiffstats
path: root/tools/pci
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2024-03-15 15:35:07 +0100
committerSean Christopherson <seanjc@google.com>2024-04-08 22:21:40 +0200
commit0ef2dd1f4144bc024d3c98954fa061a102f6481b (patch)
treec57371a00a165a3ae7e20c8bc8b8ecb45821118e /tools/pci
parentKVM: selftests: Verify post-RESET value of PERF_GLOBAL_CTRL in PMCs test (diff)
downloadlinux-0ef2dd1f4144bc024d3c98954fa061a102f6481b.tar.xz
linux-0ef2dd1f4144bc024d3c98954fa061a102f6481b.zip
KVM: selftests: fix max_guest_memory_test with more that 256 vCPUs
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. Fix that by replacing the manual register reset with a loop in the guest code. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20240315143507.102629-1-mlevitsk@redhat.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions