kvm tools: pick kernel from linux source tree root
PATCH 1/1 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 <[email protected]>
--- tools/kvm/builtin-run.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
tools/kvm/builtin-run.c +2 -0
@@ -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