kexec crash image when dom0 crashes

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Don Slutz <dslutz@verizon.com>
Tested-by: Don Slutz <dslutz@verizon.com>
Acked-by: Keir Fraser <keir@xen.org>
This commit is contained in:
David Vrabel authored and Jan Beulich committed 2013-11-12 11:46:06 +01:00
1 parent 5a82d5cf35
commit d5cb49fb72
2 files changed
+5

No files matched your search

+2
View File
@@ -305,6 +305,8 @@ void kexec_crash(void)
if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) )
return;
printk("Executing crash image\n");
kexecing = TRUE;
kexec_common_shutdown();
+3
View File
@@ -47,6 +47,9 @@ void dom0_shutdown(u8 reason)
{
debugger_trap_immediate();
printk("Domain 0 crashed: ");
#ifdef CONFIG_KEXEC
kexec_crash();
#endif
maybe_reboot();
break; /* not reached */
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.