[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler()
# HG changeset patch # User Keir Fraser <keir@xxxxxxxxxxxxx> # Date 1194349755 0 # Node ID 6c218ca2db7ed41600ef9ed070b84038a6a602c4 # Parent 55b24410ebfc3984a4d17721d9ce20713b67ceaf [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> --- unmodified_drivers/linux-2.6/platform-pci/evtchn.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 55b24410ebfc -r 6c218ca2db7e unmodified_drivers/linux-2.6/platform-pci/evtchn.c --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Tue Nov 06 09:43:22 2007 +0000 +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Tue Nov 06 11:49:15 2007 +0000 @@ -223,7 +223,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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |