mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
KVM: selftests: Purge vm+vcpu_id == vcpu silliness
Take a vCPU directly instead of a VM+vcpu pair in all vCPU-scoped helpers and ioctls. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
5260db3eb8
commit
768e9a6185
@@ -39,7 +39,7 @@ static void *run_vcpu(void *arg)
|
||||
struct kvm_vcpu *vcpu = arg;
|
||||
struct kvm_run *run = vcpu->run;
|
||||
|
||||
vcpu_run(vcpu->vm, vcpu->id);
|
||||
vcpu_run(vcpu);
|
||||
|
||||
TEST_ASSERT(false, "%s: exited with reason %d: %s\n",
|
||||
__func__, run->exit_reason,
|
||||
|
||||
Reference in New Issue
Block a user