KVM: selftests: Convert vgic_init away from vm_create_default_with_vcpus()
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 19:57:41 +0000 (11:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:09 +0000 (11:47 -0400)
commit45f568084a7a86960d55cf70fd9bf06fbb29e792
tree831dcec5b5f9c49811503cca306f0b3c011d0e48
parentf3443bed2989a27a4d5c69c01e80d873139b4178
KVM: selftests: Convert vgic_init away from vm_create_default_with_vcpus()

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/vgic_init.c