diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-02-16 03:54:04 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 18:46:51 +0300 |
| commit | a858163711751b1caba7415c473a0668de1ef2bf (patch) | |
| tree | 3c3ecf3b1ab0900199a33fb3f5734ac9a6f7340c /scripts/const_structs.checkpatch | |
| parent | d96b959600e540337fc489564dd93fc9a5ee9fe7 (diff) | |
| download | linux-a858163711751b1caba7415c473a0668de1ef2bf.tar.xz | |
KVM: selftests: Convert hyperv_clock away from VCPU_ID
Convert hyperv_clock to use vm_create_with_one_vcpu() and pass around a
'struct kvm_vcpu' object instead of using a global VCPU_ID.
Opportunistically use vcpu_run() instead of _vcpu_run() with an open
coded assert that KVM_RUN succeeded.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
