|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] x86: __pirq_guest_eoi() must check it
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1301756901 -3600
# Node ID fa37cf7f6ceca75621c08f169b2af1145ce33d6c
# Parent c3bb17be91d7392c3608adafd316313578a98a02
x86: __pirq_guest_eoi() must check it is called for a fully
guest-bound irq before accessing desc->action.
Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset: 23103:48dac730a93b
xen-unstable date: Sat Mar 26 09:42:01 2011 +0000
---
diff -r c3bb17be91d7 -r fa37cf7f6cec xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c Sat Mar 26 09:34:08 2011 +0000
+++ b/xen/arch/x86/irq.c Sat Apr 02 16:08:21 2011 +0100
@@ -1012,6 +1012,12 @@
if ( desc == NULL )
return;
+ if ( !(desc->status & IRQ_GUEST) )
+ {
+ spin_unlock_irq(&desc->lock);
+ return;
+ }
+
action = (irq_guest_action_t *)desc->action;
irq = desc - irq_desc;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] x86: __pirq_guest_eoi() must check it is called for a fully,
Xen patchbot-4 . 0-testing <=
|
|
|
|
|