commit | ee7f7d9e988e137f20a34b8c02dd28dd5312e3f1 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <seanjc@google.com> | Mon Apr 18 11:28:21 2022 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sat Jun 11 11:46:59 2022 -0400 |
tree | bb8cfcd4c0b6cfe6b12e9e1d9067b98fbfd496c9 | |
parent | 10f0b222ea7e0ab90e7c72a255ce8e4f284b12e3 [diff] |
KVM: selftests: Track kvm_vcpu object in tsc_scaling_sync Track the added 'struct kvm_vcpu' object in tsc_scaling_sync instead of relying purely on the VM + vcpu_id combination. Ideally, the test wouldn't need to manually manage vCPUs, but the need to invoke a per-VM ioctl before creating vCPUs is not handled by the selftests framework, at least not yet... Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>