|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.1-testing] x86: __pirq_guest_eoi() must check it
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1301756772 -3600
# Node ID 952eb1beec07dc275c12070ccf56700ec911d2e8
# Parent da7f8a5fe74dec224f28e277794bd22eb96d5323
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 da7f8a5fe74d -r 952eb1beec07 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c Sat Apr 02 15:59:55 2011 +0100
+++ b/xen/arch/x86/irq.c Sat Apr 02 16:06:12 2011 +0100
@@ -1022,6 +1022,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.1-testing] x86: __pirq_guest_eoi() must check it is called for a fully,
Xen patchbot-4 . 1-testing <=
|
|
|
|
|