* [PATCH] kvm tools: pick kernel from linux source tree root
@ 2011-12-21 11:18 Konstantin Khlebnikov
0 siblings, 0 replies; only message in thread
From: Konstantin Khlebnikov @ 2011-12-21 11:18 UTC (permalink / raw)
To: penberg, kvm
Pick arch/$ARCH/boot/bzImage and vmlinux if we are in linux source tree root directory.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-21 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-21 11:18 [PATCH] kvm tools: pick kernel from linux source tree root Konstantin Khlebnikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).