Commit bc5eb201 authored by Radim Krčmář's avatar Radim Krčmář Committed by David Vrabel

xen/x86: set panic notifier priority to minimum

Execution is not going to continue after telling Xen about the crash.
Let other panic notifiers run by postponing the final hypercall as much
as possible.
Signed-off-by: default avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent 79390289
...@@ -1339,6 +1339,7 @@ xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr) ...@@ -1339,6 +1339,7 @@ xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
static struct notifier_block xen_panic_block = { static struct notifier_block xen_panic_block = {
.notifier_call= xen_panic_event, .notifier_call= xen_panic_event,
.priority = INT_MIN
}; };
int xen_panic_handler_init(void) int xen_panic_handler_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment