Re: [PATCH v2] selftests: kvm: Adding config fragments

From: shuah
Date: Wed Aug 07 2019 - 12:25:27 EST


On 8/7/19 10:19 AM, Paolo Bonzini wrote:
On 07/08/19 17:52, shuah wrote:


On 8/7/19 7:58 AM, Naresh Kamboju wrote:
selftests kvm test cases need pre-required kernel configs for the test
to get pass.


Can you elaborate and add more information on which tests fail without
these configs. I am all for adding configs, however I would like to
see more information explaining which tests don't pass without this
change.

The KVM tests are skipped without these configs:

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


Thanks Paolo!

This would be great info. to add to the commit log.

thanks,
-- Shuah