diff options
| author | zhenwei pi <[email protected]> | 2020-01-02 10:35:13 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-01-14 15:07:37 +0100 |
| commit | 191941692a3d1b6a9614502b279be062926b70f5 (patch) | |
| tree | 50484f123e581ad809184a2338aef9a297d18196 /arch/powerpc/lib/code-patching.c | |
| parent | e0b9a42735f2672ca2764cfbea6e55a81098d5ba (diff) | |
misc: pvpanic: add crash loaded event
Some users prefer kdump tools to generate guest kernel dumpfile,
at the same time, need a out-of-band kernel panic event.
Currently if booting guest kernel with 'crash_kexec_post_notifiers',
QEMU will receive PVPANIC_PANICKED event and stop VM. If booting
guest kernel without 'crash_kexec_post_notifiers', guest will not
call notifier chain.
Add PVPANIC_CRASH_LOADED bit for pvpanic event, it means that guest
kernel actually hit a kernel panic, but the guest kernel wants to
handle by itself.
Signed-off-by: zhenwei pi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions