diff options
author | Yang Weijiang <[email protected]> | 2022-05-12 04:40:46 -0400 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-05-25 05:07:10 -0400 |
commit | 825be3b5abae1e67db45ff7d4b9a7764a2419bd9 (patch) | |
tree | 14e065544ea3a720605b962b7475a080de243ce9 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | e0ac535178ad32c2a4898e2309dcc49ad546e96e (diff) |
KVM: selftests: x86: Fix test failure on arch lbr capable platforms
On Arch LBR capable platforms, LBR_FMT in perf capability msr is 0x3f,
so the last format test will fail. Use a true invalid format(0x30) for
the test if it's running on these platforms. Opportunistically change
the file name to reflect the tests actually carried out.
Suggested-by: Paolo Bonzini <[email protected]>
Signed-off-by: Yang Weijiang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions