RE: [PATCH V3 4/6] x86/Hyper-V: Report crash register data or ksmg before running crash kernel

Michael Kelley
2020-03-25T18:33:35Z

From: Tianyu Lan <Tianyu.Lan@microsoft.com> Sent: Tuesday, March 24, 2020 12:57 AM
>
> We want to notify Hyper-V when a Linux guest VM crash occurs, so
> there is a record of the crash even when kdump is enabled. But
> crash_kexec_post_notifiers defaults to "false", so the kdump kernel
> runs before the notifiers and Hyper-V never gets notified. Fix this by
> always setting crash_kexec_post_notifiers to be true for Hyper-V VMs.
>
> Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
> ---
> Change since v1:
> Update commit log
> ---
> arch/x86/kernel/cpu/mshyperv.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>

Reviewed-by: Michael Kelley <mikelley@microsoft.com>