commit | 7e3758bc1e241442177aee0d063bf2b9c92599b2 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Thu Sep 17 10:37:10 2020 -0700 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Sep 17 10:37:10 2020 -0700 |
tree | e3ef8af0291d8a7813e7b538000edb76b595c6c1 | |
parent | fbaa2e5f3ee9f6cdc280a3633078fd2e284d64ff [diff] |
refscale: Prevent hangs for invalid arguments If an refscale torture-test run is given a bad kvm.sh argument, the test will complain to the console, which is good. What is bad is that from the user's perspective, it will just hang for the time specified by the --duration argument. This commit therefore forces an immediate kernel shutdown if a ref_scale_init()-time error occurs, thus avoiding the appearance of a hang. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>