diff options
author | Raphael Ning <raphning@amazon.com> | 2022-03-23 14:44:18 +0000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2022-03-23 15:58:27 +0100 |
commit | 501646beec2b1c4a2ff4f2909c5ddb5cea8c7f8e (patch) | |
tree | ba5bf8bd4a43a65cbc95c688af9cd89dff6558ce /kexec/dt-ops.h | |
parent | 1d7a308bf7349fcf1627e950159029dfccf85891 (diff) |
kexec-xen: Allow xen_kexec_exec() to return in case of Live Update
Currently, my_exec() does not expect the Xen KEXEC_CMD_kexec hypercall
to return on success, because it assumes that the hypercall always
triggers an immediate reboot. However, for Live Update, the hypercall
merely schedules the kexec operation and returns; the actual reboot
happens asynchronously. [1]
Therefore, rework the Xen code path of my_exec() such that it does not
treat a successfully processed Live Update request as an error. Also,
rephrase the comment above the function to remove ambiguity.
[1] https://lists.xen.org/archives/html/xen-devel/2021-05/msg00286.html
Signed-off-by: Raphael Ning <raphning@amazon.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/dt-ops.h')
0 files changed, 0 insertions, 0 deletions