Jiang, Yunhong
2009-Mar-18 09:59 UTC
[Xen-devel] [PATCH ] Avoid potential suspend event channel race
As discussed previously (see http://lists.xensource.com/archives/html/xen-devel/2009-03/msg00570.html), we try to make access to event channel be protected. The attached patch achieved it through one lock file under /var/lib/xen/. evet_channel.patch: Changes the xc_save.c, to remove the dependency to the global si structure and has no logic change. The patch move_evtchn.patch : Move the suspend event channel function to libxc, it will use the /var/lib/xen/suspend_evtchn_lock.d to protect the access. I''m not sure if using lock file is a right method, so any feedback is welcome. signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com> Thanks Yunhong Jiang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel