]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33b1ffec8c3f4abd4638b338fc37cf5cccac066a
tree6ae68f38dc0f5fa50eae1b62c9cbde3d94053187
parent2ae1ffe5a1cd52e37b2e68f3ce3e9c4c845378dc
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