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)
commitbb47ed8b71d06d7ede40374fd3064e2457eafb62
tree37f4c6c19ebdaaf7d3aec1cffb9d85ebf58bef13
parent0c276ff22c7eb1a6ebf889b25d631f4cd358a482
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