> VMware accepts a structured guest-crash event, but a host configured with
> backdoor.coredumpOnCrash may terminate the VM before the hypercall
> returns. Keep this event separate from the pre-kdump log sender.
> 
> Register a panic-only kmsg dumper with late_initcall_sync(), after built-in
> dumpers registered by then. Skip the event while a crash kernel is loaded
> so the host cannot terminate the guest before kdump saves its vmcore.
> 
> Issue the event at most once. With CONFIG_PRINTK=n, use a late INT_MIN
> panic notifier. An unexpected dumper registration failure with printk
> enabled leaves reporting disabled rather than overtaking working dumpers.
> 
> Link: 
> https://lore.kernel.org/r/[email protected]
> Co-developed-by: Brennan Lamoreaux <[email protected]>
> Signed-off-by: Brennan Lamoreaux <[email protected]>
> Co-developed-by: Alexey Makhalov <[email protected]>
> Signed-off-by: Alexey Makhalov <[email protected]>
> Signed-off-by: Zack Rusin <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=6


Reply via email to