From: Kees Jongenburger Date: Sat, 16 Feb 2013 10:17:14 +0000 (+0100) Subject: vm:Display boot process name upon failure to load or execute. X-Git-Tag: v3.3.0~1148 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-verify.html?a=commitdiff_plain;h=f240e1eaf593327adac09e7a25eb221865684530;p=minix.git vm:Display boot process name upon failure to load or execute. Change-Id: I80fdaca09ae255622083b16dee72715f009dc0ee --- diff --git a/servers/vm/main.c b/servers/vm/main.c index 3a64b2e32..c3a4e3a05 100644 --- a/servers/vm/main.c +++ b/servers/vm/main.c @@ -289,11 +289,13 @@ void exec_bootproc(struct vmproc *vmp, struct boot_image *ip) execi->allocmem_ondemand = libexec_alloc_vm_ondemand; if(libexec_load_elf(execi) != OK) - panic("vm: boot process load of %d failed\n", vmp->vm_endpoint); + panic("vm: boot process load of process %s (ep=%d) failed\n", + execi->progname,vmp->vm_endpoint); if(sys_exec(vmp->vm_endpoint, (char *) execi->stack_high - 12, (char *) ip->proc_name, execi->pc) != OK) - panic("vm: boot process exec of %d failed\n", vmp->vm_endpoint); + panic("vm: boot process exec of process %s (ep=%d) failed\n", + execi->progname,vmp->vm_endpoint); /* make it runnable */ if(sys_vmctl(vmp->vm_endpoint, VMCTL_BOOTINHIBIT_CLEAR, 0) != OK)