[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] xen evtchn: Rememeber to re-bind user-attached event channels to VCPU
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1207218656 -3600 # Node ID 636cd340e024e921ffd8f3575e6775d4cb6dc48c # Parent ad7ad9af265e3276d084f8074192bec9d3867747 xen evtchn: Rememeber to re-bind user-attached event channels to VCPU 0 when the channel is closed. From: Pascal Bouchareine <pascal@xxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- drivers/xen/evtchn/evtchn.c | 2 ++ 1 files changed, 2 insertions(+) diff -r ad7ad9af265e -r 636cd340e024 drivers/xen/evtchn/evtchn.c --- a/drivers/xen/evtchn/evtchn.c Tue Apr 01 11:29:31 2008 -0600 +++ b/drivers/xen/evtchn/evtchn.c Thu Apr 03 11:30:56 2008 +0100 @@ -349,6 +349,7 @@ static long evtchn_ioctl(struct file *fi port_user[unbind.port] = NULL; mask_evtchn(unbind.port); + rebind_evtchn_to_cpu(unbind.port, 0); spin_unlock_irq(&port_user_lock); @@ -458,6 +459,7 @@ static int evtchn_release(struct inode * port_user[i] = NULL; mask_evtchn(i); + rebind_evtchn_to_cpu(i, 0); close.port = i; ret = HYPERVISOR_event_channel_op(EVTCHNOP_close, &close); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |