linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] selftests: kvm: Adding config fragments
@ 2019-08-09  7:24 Naresh Kamboju
  2019-08-09  7:24 ` [PATCH v3 2/2] selftests: kvm: x86_64: " Naresh Kamboju
  2019-08-09  7:39 ` [PATCH v3 1/2] selftests: kvm: " Paolo Bonzini
  0 siblings, 2 replies; 6+ messages in thread
From: Naresh Kamboju @ 2019-08-09  7:24 UTC (permalink / raw)
  To: naresh.kamboju, pbonzini, shuah
  Cc: linux-kernel, drjones, sean.j.christopherson, linux-kselftest, kvm

selftests kvm all test cases need pre-required kernel config for the
tests to get pass.

CONFIG_KVM=y

The KVM tests are skipped without these configs:

        dev_fd = open(KVM_DEV_PATH, O_RDONLY);
        if (dev_fd < 0)
                exit(KSFT_SKIP);

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
---
 tools/testing/selftests/kvm/config | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/kvm/config

diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config
new file mode 100644
index 000000000000..14f90d8d6801
--- /dev/null
+++ b/tools/testing/selftests/kvm/config
@@ -0,0 +1 @@
+CONFIG_KVM=y
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-09 14:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  7:24 [PATCH v3 1/2] selftests: kvm: Adding config fragments Naresh Kamboju
2019-08-09  7:24 ` [PATCH v3 2/2] selftests: kvm: x86_64: " Naresh Kamboju
2019-08-09  7:39 ` [PATCH v3 1/2] selftests: kvm: " Paolo Bonzini
2019-08-09  7:53   ` Naresh Kamboju
2019-08-09 10:18     ` Paolo Bonzini
2019-08-09 14:58       ` Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).