[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler()
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |