Searched hist:d96b959600e540337fc489564dd93fc9a5ee9fe7 (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_features.c | diff d96b959600e540337fc489564dd93fc9a5ee9fe7 Wed Feb 16 01:50:11 CET 2022 Sean Christopherson <seanjc@google.com> 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>
|