diff options
author | Raphael Ning <raphning@amazon.com> | 2021-03-23 17:59:23 +0000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-04-02 12:00:46 +0200 |
commit | 85721bdd187206df402634ddec81ef94b5e23375 (patch) | |
tree | 15164b6d9292cf4627b2160a5d47fe5421b134ab /kexec/arch_reuse_initrd.c | |
parent | 4b97ff97852832b4856f76827df2d53d34baae59 (diff) |
kexec-xen: Use correct image type for Live Update
Unlike xen_kexec_load(), xen_kexec_unload() and xen_kexec_status()
fail to distinguish between normal kexec and Xen Live Update image
types.
Fix that by introducing a new helper function that maps internal
flags to KEXEC_TYPE_*, and using it throughout kexec-xen.c.
Signed-off-by: Raphael Ning <raphning@amazon.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch_reuse_initrd.c')
0 files changed, 0 insertions, 0 deletions