From bd80ec71593b0de39dcd78b38a00e0adf477aabc Mon Sep 17 00:00:00 2001 From: Konstantin Khlebnikov Date: Wed, 21 Dec 2011 14:18:00 +0300 Subject: [PATCH] kvm tools: pick kernel from linux source tree root Pick arch/$ARCH/boot/bzImage and vmlinux if we are in linux source tree root directory. Signed-off-by: Konstantin Khlebnikov Signed-off-by: Pekka Enberg --- tools/kvm/builtin-run.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c index 6bd9638e16f7..27daf0fea858 100644 --- a/tools/kvm/builtin-run.c +++ b/tools/kvm/builtin-run.c @@ -635,11 +635,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 -- 2.39.5