WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH 1/2] xen: Clear IRQ_GUEST bit from irq_desc statu

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH 1/2] xen: Clear IRQ_GUEST bit from irq_desc status if its action is NULL
From: Igor Mammedov <imammedo@xxxxxxxxxx>
Date: 2011年9月13日 15:56:37 +0200
Cc: keir.fraser@xxxxxxxxxx, JBeulich@xxxxxxxx
Delivery-date: 2011年9月13日 06:57:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1315921459-17059-3-git-send-email-imammedo@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1315921459-17059-1-git-send-email-imammedo@xxxxxxxxxx> <1315921459-17059-3-git-send-email-imammedo@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110904 Red Hat/3.1.14-1.el6_1 Lightning/1.0b2 Thunderbird/3.1.14
This one has wrong Subject. Just forget about it, please.
I'll send it with correct subj.
On 09/13/2011 03:44 PM, Igor Mammedov wrote:
Signed-off-by: Igor Mammedov<imammedo@xxxxxxxxxx>
Reviewed-by: Jan Beulich<JBeulich@xxxxxxxx>
diff -r 2049f7ca3177 -r 884814bfc22e xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c Tue Sep 13 14:44:59 2011 +0200
+++ b/xen/arch/x86/irq.c Tue Sep 13 14:47:46 2011 +0200
@@ -1599,12 +1599,7 @@ static int pirq_guest_force_unbind(struc
 action = (irq_guest_action_t *)desc->action;
 if ( unlikely(action == NULL) )
- {
- desc->status&= ~IRQ_GUEST;
- dprintk(XENLOG_G_WARNING, "dom%d: pirq %d: desc->action is NULL!\n",
- d->domain_id, pirq->pirq);
- goto out;
- }
+ goto unbind;
 for ( i = 0; (i< action->nr_guests)&& (action->guest[i] != d); i++ )
 continue;
@@ -1612,6 +1607,7 @@ static int pirq_guest_force_unbind(struc
 goto out;
 bound = 1;
+ unbind:
 oldaction = __pirq_guest_unbind(d, pirq, desc);
 out:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
--
Thanks,
 Igor
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH 2/2] xen: remove duplicate code and keep IRQ_GUEST flag reset at one place , Igor Mammedov
Next by Date: [Xen-devel] [PATCH] xl: fixup "xl save" command line handling , Ian Campbell
Previous by Thread: [Xen-devel] [PATCH 1/2] xen: Clear IRQ_GUEST bit from irq_desc status if its action is NULL , Igor Mammedov
Next by Thread: [Xen-devel] [PATCH 2/2] xen: remove duplicate code and keep IRQ_GUEST flag reset at one place , Igor Mammedov
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /