KVM: selftests: Convert hypercalls test away from vm_create_default()
authorSean Christopherson <seanjc@google.com>
Thu, 2 Jun 2022 00:32:52 +0000 (17:32 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:11 +0000 (11:47 -0400)
commit8a093ea0d104998c4755743cdc5df7349356ae81
tree6ae68f38dc0f5fa50eae1b62c9cbde3d94053187
parentf05427faedff746e08b2098195c15d8691bc5fbe
KVM: selftests: Convert hypercalls test away from vm_create_default()

Use a combination of vm_create(), vm_create_with_vcpus(), and
    vm_vcpu_add() to convert vgic_init from vm_create_default_with_vcpus(),
    and away from referncing vCPUs by ID.

Thus continues the march toward total annihilation of "default" helpers.

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