]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use vm_create_with_vcpus() in max_guest_memory_test
authorSean Christopherson <seanjc@google.com>
Tue, 19 Apr 2022 18:35:28 +0000 (11:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:15 +0000 (11:47 -0400)
commit3929da41273e11ab1b808d967d17d611279af82c
tree84fce19eee688cdd395112488627bc2e3adcb1fb
parentfad516f8696faacb4865ce85bfbda984398349e7
KVM: selftests: Use vm_create_with_vcpus() in max_guest_memory_test

Use vm_create_with_vcpus() in max_guest_memory_test and reference vCPUs
by their 'struct kvm_vcpu' object instead of their ID.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/max_guest_memory_test.c