libxc: add API for kexec hypercall
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 12 Nov 2013 10:47:07 +0000 (11:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2013 10:47:07 +0000 (11:47 +0100)
commit19f46b09277ee4caca859b4b2a1944432ea41c21
tree99414930cf42bfc2fb34af37156635c6322c704a
parente07d1cb67b61e60e2baf93725e0bd55a15372111
libxc: add API for kexec hypercall

Add xc_kexec_exec(), xc_kexec_get_ranges(), xc_kexec_load(), and
xc_kexec_unload().  The load and unload calls require the v2 load and
unload ops.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Campbell <ian.campbell@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>
tools/libxc/Makefile
tools/libxc/xc_kexec.c [new file with mode: 0644]
tools/libxc/xenctrl.h