diff options
| author | Sean Christopherson <[email protected]> | 2020-04-10 16:16:58 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-15 12:08:41 -0400 |
| commit | 238022ff5d05f6cdceac67c03a66cc28a6cb30c9 (patch) | |
| tree | 77d0fac17ec75d2d0946301ec9757bfecb498df8 /tools/testing/selftests/kvm/lib/kvm_util_internal.h | |
| parent | 43d05de2bee7561b7958628b7c27c89b779de990 (diff) | |
KVM: selftests: Take vcpu pointer instead of id in vm_vcpu_rm()
The sole caller of vm_vcpu_rm() already has the vcpu pointer, take it
directly instead of doing an extra lookup.
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Wainer dos Santos Moschetta <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util_internal.h')
0 files changed, 0 insertions, 0 deletions