Skip to content

Commit

Permalink
xen/x86: set panic notifier priority to minimum
Browse files Browse the repository at this point in the history
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: Andrew Jones <drjones@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
  • Loading branch information
Radim Krčmář authored and David Vrabel committed May 15, 2014
1 parent 7939028 commit bc5eb20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr)

static struct notifier_block xen_panic_block = {
.notifier_call= xen_panic_event,
.priority = INT_MIN
};

int xen_panic_handler_init(void)
Expand Down

0 comments on commit bc5eb20

Please sign in to comment.