diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-02-16 03:50:11 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 18:46:51 +0300 |
| commit | d96b959600e540337fc489564dd93fc9a5ee9fe7 (patch) | |
| tree | a4d17873fe1bd44c63fa9341fbca26337e1791c9 /scripts | |
| parent | a1918c0fbeea59ccc629d83e491e798fc657fe41 (diff) | |
| download | linux-d96b959600e540337fc489564dd93fc9a5ee9fe7.tar.xz | |
KVM: selftests: Convert hyperv_features away from VCPU_ID
Convert hyperv_features 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')
0 files changed, 0 insertions, 0 deletions
