Re: [PATCH v2] xen: add support for automatic debug key actions in case of crash

2020-11-24 Thread Jürgen Groß
On 24.11.20 12:27, Jan Beulich wrote: On 20.11.2020 14:13, Juergen Gross wrote: @@ -507,6 +509,42 @@ void __init initialize_keytable(void) } } +#define CRASHACTION_SIZE 32 +static char crash_debug_panic[CRASHACTION_SIZE]; +static char crash_debug_hwdom[CRASHACTION_SIZE]; +static cha

Re: [PATCH v2] xen: add support for automatic debug key actions in case of crash

2020-11-24 Thread Jan Beulich
On 20.11.2020 14:13, Juergen Gross wrote: > @@ -507,6 +509,42 @@ void __init initialize_keytable(void) > } > } > > +#define CRASHACTION_SIZE 32 > +static char crash_debug_panic[CRASHACTION_SIZE]; > +static char crash_debug_hwdom[CRASHACTION_SIZE]; > +static char crash_debug_watchdog[CRASHA

[PATCH v2] xen: add support for automatic debug key actions in case of crash

2020-11-20 Thread Juergen Gross
When the host crashes it would sometimes be nice to have additional debug data available which could be produced via debug keys, but halting the server for manual intervention might be impossible due to the need to reboot/kexec rather sooner than later. Add support for automatic debug key actions