2020-01-30 23:10:17

by Brendan Higgins

[permalink] [raw]
Subject: [PATCH v2 7/7] Documentation: Add kunit_shutdown to kernel-parameters.txt

Add kunit_shutdown, an option to specify that the kernel shutsdown after
running KUnit tests, to the kernel-parameters.txt documentation.

Signed-off-by: Brendan Higgins <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
---
Documentation/admin-guide/kernel-parameters.txt | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index ade4e6ec23e03..522fd8bdec949 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2054,6 +2054,13 @@
0: force disabled
1: force enabled

+ kunit_shutdown [KERNEL UNIT TESTING FRAMEWORK] Shutdown kernel after
+ running tests.
+ Default: (flag not present) don't shutdown
+ poweroff: poweroff the kernel after running tests
+ halt: halt the kernel after running tests
+ reboot: reboot the kernel after running tests
+
kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
Default is 0 (don't ignore, but inject #GP)

--
2.25.0.341.g760bfbb309-goog


2020-02-05 00:20:16

by Frank Rowand

[permalink] [raw]
Subject: Re: [PATCH v2 7/7] Documentation: Add kunit_shutdown to kernel-parameters.txt

On 1/30/20 5:08 PM, Brendan Higgins wrote:
> Add kunit_shutdown, an option to specify that the kernel shutsdown after
> running KUnit tests, to the kernel-parameters.txt documentation.
>
> Signed-off-by: Brendan Higgins <[email protected]>
> Reviewed-by: Stephen Boyd <[email protected]>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index ade4e6ec23e03..522fd8bdec949 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -2054,6 +2054,13 @@
> 0: force disabled
> 1: force enabled
>
> + kunit_shutdown [KERNEL UNIT TESTING FRAMEWORK] Shutdown kernel after
> + running tests.

running built-in tests. Tests configured as modules will not be run.

My wording might not be consistent with KUnit terminology regarding "built-in" and "modules".
Feel free to properly word smith.


> + Default: (flag not present) don't shutdown
> + poweroff: poweroff the kernel after running tests
> + halt: halt the kernel after running tests
> + reboot: reboot the kernel after running tests
> +
> kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
> Default is 0 (don't ignore, but inject #GP)
>
>