diff options
author | Joe Fradley <joefradley@google.com> | 2022-08-23 17:24:54 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-09-30 22:17:39 +0300 |
commit | d20a6ba5e3be5f8d9002c6c5a5d4dfecc5dc48f9 (patch) | |
tree | 7798e5606a8ada2099d00eea123b5305d61da342 /Documentation/admin-guide/kernel-parameters.txt | |
parent | a15cfa39e8cf9bb20d755978c2f25a9c427bf7b2 (diff) | |
download | linux-d20a6ba5e3be5f8d9002c6c5a5d4dfecc5dc48f9.tar.xz |
kunit: add kunit.enable to enable/disable KUnit test
This patch adds the kunit.enable module parameter that will need to be
set to true in addition to KUNIT being enabled for KUnit tests to run.
The default value is true giving backwards compatibility. However, for
the production+testing use case the new config option
KUNIT_DEFAULT_ENABLED can be set to N requiring the tester to opt-in
by passing kunit.enable=1 to the kernel.
Signed-off-by: Joe Fradley <joefradley@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/admin-guide/kernel-parameters.txt')
-rw-r--r-- | Documentation/admin-guide/kernel-parameters.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 426fa892d311..9f15ee63c4f4 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -2436,6 +2436,12 @@ 0: force disabled 1: force enabled + kunit.enable= [KUNIT] Enable executing KUnit tests. Requires + CONFIG_KUNIT to be set to be fully enabled. The + default value can be overridden via + KUNIT_DEFAULT_ENABLED. + Default is 1 (enabled) + kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs. Default is 0 (don't ignore, but inject #GP) |