rcutorture: Use vmlinux as the fallback kernel image
authorBoqun Feng <boqun.feng@gmail.com>
Thu, 19 May 2016 03:42:22 +0000 (11:42 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Jun 2016 23:03:29 +0000 (16:03 -0700)
commit1b900c6a26de26e111617d6b69b64aaee7b9de01
tree315a4949689cd471c8d66e02158d29e5315d03d1
parente5731b584b3e521e3db6fda9cdfe10646d3413a3
rcutorture: Use vmlinux as the fallback kernel image

The vmlinux image is available for all the architectures, and suitable
for running a KVM guest by QEMU, besides, we used to copy the vmlinux
to $resdir anyway. Therefore it makes sense to use it as the fallback
kernel image for rcutorture KVM tests.

This patch makes identify_boot_image() return vmlinux if
${TORTURE_BOOT_IMAGE} is not set on non-x86 architectures, also fixes
several places that hard-code "bzImage" as $KERNEL.

This also fixes a problem that PPC doesn't have a bzImage file as build
results.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/functions.sh
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
This page took 0.04728 seconds and 5 git commands to generate.