diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-06-14 20:06:41 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2022-07-13 18:14:14 -0700 |
| commit | 71bcb951c68b422ca65f55dc7ae7be01735ae48e (patch) | |
| tree | 17839df1a29b3cfd35264f414d3ca10a9aa8a320 /tools/perf/scripts/python | |
| parent | KVM: selftests: Use kvm_cpu_has() for nSVM soft INT injection test (diff) | |
| download | linux-71bcb951c68b422ca65f55dc7ae7be01735ae48e.tar.gz linux-71bcb951c68b422ca65f55dc7ae7be01735ae48e.zip | |
KVM: selftests: Verify that kvm_cpuid2.entries layout is unchanged by KVM
In the CPUID test, verify that KVM doesn't modify the kvm_cpuid2.entries
layout, i.e. that the order of entries and their flags is identical
between what the test provides via KVM_SET_CPUID2 and what KVM returns
via KVM_GET_CPUID2.
Asserting that the layouts match simplifies the test as there's no need
to iterate over both arrays.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-17-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
