summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/kvm.sh
diff options
context:
space:
mode:
authorPaul E. McKenney2016-03-28 23:44:42 +0200
committerPaul E. McKenney2016-03-31 22:39:53 +0200
commitfb2c66af10f92bc83659c4d8a32e02287f0e5dda (patch)
tree2243adf34ac6948db82f587bd6320713a6ae6461 /tools/testing/selftests/rcutorture/bin/kvm.sh
parenttorture: Clarify refusal to run more than one torture test (diff)
downloadkernel-qcow2-linux-fb2c66af10f92bc83659c4d8a32e02287f0e5dda.tar.gz
kernel-qcow2-linux-fb2c66af10f92bc83659c4d8a32e02287f0e5dda.tar.xz
kernel-qcow2-linux-fb2c66af10f92bc83659c4d8a32e02287f0e5dda.zip
torture: Kill qemu, not parent process
The current hang-check machinery in the rcutorture scripts uses "$!" of a parenthesized bash statement to capture the pid. Unfortunately, this captures not qemu's pid, but rather that of its parent that implements the parenthesized statement. This commit therefore adjusts things so as to capture qemu's actual pid, which then allows the script to actually kill qemu in event of a kernel hang. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/kvm.sh')
0 files changed, 0 insertions, 0 deletions