[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191008194338.24159-1-vkuznets@redhat.com>
Date: Tue, 8 Oct 2019 21:43:35 +0200
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: kvm@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Jim Mattson <jmattson@...gle.com>
Subject: [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(-)
--
2.20.1
Powered by blists - more mailing lists