torture: Make kvm-test-1-run-qemu.sh check for reboot loops
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 10 Jul 2021 00:13:34 +0000 (17:13 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 27 Jul 2021 18:41:33 +0000 (11:41 -0700)
commit06ca91448f32247c436e83116357f891be03b4bd
tree73a6e4f83bf1118494b2e86f50ec42414041dd31
parent5f33809ec2cd1f8383aa1cc14f1ae1a244dd2906
torture: Make kvm-test-1-run-qemu.sh check for reboot loops

It turns out that certain types of early boot bugs can result in reboot
loops, even within a guest OS running under qemu/KVM.  This commit
therefore upgrades the kvm-test-1-run-qemu.sh script's hang-detection
heuristics to detect such situations and to terminate the run when
they occur.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run-qemu.sh