diff options
author | Jinrong Liang <[email protected]> | 2024-01-09 15:02:32 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-30 15:28:03 -0800 |
commit | d7e68738e1aae940b54bfc03313e0ef5720e2e71 (patch) | |
tree | e064500598ae9fbd5cfaa098434738088e186821 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a634c76b2c1a642d11f5d6e1810181daedcbe0ab (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 <[email protected]>
Signed-off-by: Jinrong Liang <[email protected]>
Co-developed-by: Sean Christopherson <[email protected]>
Tested-by: Dapeng Mi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions