KVM: selftests: Use vm_create() in tsc_scaling_sync
authorSean Christopherson <seanjc@google.com>
Tue, 19 Apr 2022 00:35:33 +0000 (17:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:14 +0000 (11:47 -0400)
commit46647c65e1e618cc75961ef4d887f90ba7e18431
treefdbcac2ec0be96165789808deb613121a16802b4
parent6a9d37efa2cf3e2ba551c660fe52496742cbfbc4
KVM: selftests: Use vm_create() in tsc_scaling_sync

Use vm_create() instead of vm_create_default_with_vcpus() in
tsc_scaling_sync.  The existing call doesn't create any vCPUs, and the
guest_code() entry point is set when vm_vcpu_add_default() is invoked.

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