]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use vm_create_without_vcpus() in set_boot_cpu_id
authorSean Christopherson <seanjc@google.com>
Mon, 18 Apr 2022 20:00:58 +0000 (13:00 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:31 +0000 (11:46 -0400)
commit9b9c20b1798c973f8c69056b71349507d15e2163
tree37f4c6c19ebdaaf7d3aec1cffb9d85ebf58bef13
parent362b3d0fb235d77a96024045245203e830ae7c6c
KVM: selftests: Use vm_create_without_vcpus() in set_boot_cpu_id

Use vm_create_without_vcpus() in set_boot_cpu_id instead of open coding
the equivlant now that the "without_vcpus" variant does
vm_adjust_num_guest_pages().

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