Commit 85721bdd authored by Raphael Ning's avatar Raphael Ning Committed by Simon Horman
Browse files

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: default avatarRaphael Ning <raphning@amazon.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 4b97ff97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment