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 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.1-testing] [PV-ON-HVM] Fix evtchn of unbind_from_

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler()
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Nov 2007 12:30:31 -0800
Delivery-date: Tue, 06 Nov 2007 12:30:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1194349832 0
# Node ID d000dead48c493898be1ea3ec8e400db0e5f4670
# Parent  88acfb060c9f7e34aa441cc24e51225f0710595e
[PV-ON-HVM] Fix evtchn of unbind_from_irqhandler()

When xm block-detach command was done on PV-ON-HVM, the response of
other disks was lost. It is because a wrong event channel was
invalidated when detaching it. Not the evtchn number but the irq
number is invalidated specifying it.

Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
xen-unstable changeset:   16326:6c218ca2db7ed41600ef9ed070b84038a6a602c4
xen-unstable date:        Tue Nov 06 11:49:15 2007 +0000
---
 unmodified_drivers/linux-2.6/platform-pci/evtchn.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 88acfb060c9f -r d000dead48c4 
unmodified_drivers/linux-2.6/platform-pci/evtchn.c
--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Mon Nov 05 
10:17:35 2007 +0000
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Tue Nov 06 
11:50:32 2007 +0000
@@ -224,7 +224,7 @@ void unbind_from_irqhandler(unsigned int
        evtchn = evtchn_from_irq(irq);
 
        if (is_valid_evtchn(evtchn)) {
-               evtchn_to_irq[irq] = -1;
+               evtchn_to_irq[evtchn] = -1;
                mask_evtchn(evtchn);
                if (irq_evtchn[irq].close) {
                        struct evtchn_close close = { .port = evtchn };

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler(), Xen patchbot-3.1-testing <=