]> 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)
commitdca2c677426c1ac6c381853eec05f73f91162b24
tree84fce19eee688cdd395112488627bc2e3adcb1fb
parentff880a13d8f34923b06d077ac294bda52d046c3c
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