diff options
| author | 2024-01-09 15:02:32 -0800 | |
|---|---|---|
| committer | 2024-01-30 15:28:03 -0800 | |
| commit | d7e68738e1aae940b54bfc03313e0ef5720e2e71 (patch) | |
| tree | e064500598ae9fbd5cfaa098434738088e186821 /rust/kernel/gpu/ssh:/git@git.zx2c4.com | |
| parent | KVM: x86/pmu: Explicitly check for RDPMC of unsupported Intel PMC types (diff) | |
KVM: selftests: Add vcpu_set_cpuid_property() to set properties
Add vcpu_set_cpuid_property() helper function for setting properties, and
use it instead of open coding an equivalent for MAX_PHY_ADDR. Future vPMU
testcases will also need to stuff various CPUID properties.
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Jinrong Liang <cloudliang@tencent.com>
Co-developed-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/gpu/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
