]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit169c99884ca451d9a170a6529f70ddb2764b5282
tree831dcec5b5f9c49811503cca306f0b3c011d0e48
parent88ce3028f6ab9fe2baeeef466c2c001a9a7e56ef
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