kexec: add infrastructure for handling kexec images
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 12 Nov 2013 10:41:02 +0000 (11:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2013 10:41:02 +0000 (11:41 +0100)
commit9ee51c59d74168ff28b8c5a311d9c17c53f7fe6b
tree816bc3faef9ce7639c6f778862ef637a3b6908ea
parent5813737f8512b0c5ec9808e489f71b905d6c7c53
kexec: add infrastructure for handling kexec images

Add the code needed to handle and load kexec images into Xen memory or
into the crash region.  This is needed for the new KEXEC_CMD_load and
KEXEC_CMD_unload hypercall sub-ops.

Much of this code is derived from the Linux kernel.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Don Slutz <dslutz@verizon.com>
Tested-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/Makefile
xen/common/kimage.c [new file with mode: 0644]
xen/include/xen/kimage.h [new file with mode: 0644]