Skip to content

selftests: kvm: improvements to VMX support check

Vitaly Kuznetsov kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twicetools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c+1 -60 replies
2/3selftests: kvm: consolidate VMX support checkstools/testing/selftests/kvm/include/x86_64/vmx.h tools/testing/selftests/kvm/lib/x86_64/vmx.c tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c +2 more+15 -150 replies
3/3selftests: kvm: vmx_dirty_log_test: skip the test when VMX is not supportedtools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] selftests: kvm: improvements to VMX support check

vmx_dirty_log_test fails on AMD and this is no surprise as it is VMX specific. Consolidate checks from other VMX tests into a library routine and add a check to skip the test when !VMX.

Vitaly Kuznetsov (3):
selftests: kvm: vmx_set_nested_state_test: don't check for VMX support
twice
selftests: kvm: consolidate VMX support checks
selftests: kvm: vmx_dirty_log_test: skip the test when VMX is not
supported

 tools/testing/selftests/kvm/include/x86_64/vmx.h    |  2 ++
 tools/testing/selftests/kvm/lib/x86_64/vmx.c        | 10 ++++++++++
 .../kvm/x86_64/vmx_close_while_nested_test.c        |  6 +-----
 .../selftests/kvm/x86_64/vmx_dirty_log_test.c       |  2 ++
 .../kvm/x86_64/vmx_set_nested_state_test.c          | 13 ++-----------
 .../selftests/kvm/x86_64/vmx_tsc_adjust_test.c      |  6 +-----
 6 files changed, 18 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.1