diff options
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r-- | kexec/kexec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h index 8021f39d..f0f347d5 100644 --- a/kexec/kexec.h +++ b/kexec/kexec.h @@ -234,7 +234,8 @@ extern int file_types; #define OPT_ENTRY 261 #define OPT_PRINT_CKR_SIZE 262 #define OPT_LOAD_LIVE_UPDATE 263 -#define OPT_MAX 264 +#define OPT_EXEC_LIVE_UPDATE 264 +#define OPT_MAX 265 #define KEXEC_OPTIONS \ { "help", 0, 0, OPT_HELP }, \ { "version", 0, 0, OPT_VERSION }, \ @@ -245,6 +246,7 @@ extern int file_types; { "load", 0, 0, OPT_LOAD }, \ { "unload", 0, 0, OPT_UNLOAD }, \ { "exec", 0, 0, OPT_EXEC }, \ + { "exec-live-update", 0, 0, OPT_EXEC_LIVE_UPDATE}, \ { "load-preserve-context", 0, 0, OPT_LOAD_PRESERVE_CONTEXT}, \ { "load-jump-back-helper", 0, 0, OPT_LOAD_JUMP_BACK_HELPER }, \ { "load-live-update", 0, 0, OPT_LOAD_LIVE_UPDATE }, \ @@ -326,7 +328,7 @@ void cmdline_add_liveupdate(char **base); int xen_present(void); int xen_kexec_load(struct kexec_info *info); int xen_kexec_unload(uint64_t kexec_flags); -void xen_kexec_exec(void); +void xen_kexec_exec(uint64_t kexec_flags); int xen_kexec_status(uint64_t kexec_flags); extern unsigned long long get_kernel_sym(const char *text); |