Pick arch/$ARCH/boot/bzImage and vmlinux if we are in linux source tree root directory. Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> --- tools/kvm/builtin-run.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c index 094c0fa2..50f1de9 100644 --- a/tools/kvm/builtin-run.c +++ b/tools/kvm/builtin-run.c @@ -609,11 +609,13 @@ static const char *host_kernels[] = { static const char *default_kernels[] = { "./bzImage", + "arch/" BUILD_ARCH "/boot/bzImage", "../../arch/" BUILD_ARCH "/boot/bzImage", NULL }; static const char *default_vmlinux[] = { + "vmlinux", "../../../vmlinux", "../../vmlinux", NULL -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html