On 08/10/19 21:43, Vitaly Kuznetsov wrote: > 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(-) > Queued, thanks. Paolo