RE: [PATCH V3 4/6] x86/Hyper-V: Report crash register data or ksmg before running crash kernel
From: Michael Kelley <hidden>
Date: 2020-03-25 18:33:35
Also in:
lkml
From: Michael Kelley <hidden>
Date: 2020-03-25 18:33:35
Also in:
lkml
From: Tianyu Lan <redacted> 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 <redacted>
---
Change since v1:
Update commit log
---
arch/x86/kernel/cpu/mshyperv.c | 10 ++++++++++
1 file changed, 10 insertions(+)Reviewed-by: Michael Kelley <redacted>