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

From: Paolo Bonzini
Date: Wed Aug 07 2019 - 12:20:07 EST


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);

Paolo