[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 0/7] Optionally add libvchan to stubdom
On 29.04.2013 00:52, Samuel Thibault wrote: > Marek Marczykowski, le Fri 26 Apr 2013 16:45:05 +0200, a Ãcrit : >> One unsolved problem is implementation of xc_gntshr_share_page_notify. On >> Linux, >> there is kernel, which can notify remote in case of server process death. In >> stubdom there is no such place - if exit() is called anywhere, the whole >> stubdom is terminated. > > We could implement an atexit. > >> Also the common case is stubdom destruction (the case >> for ioemu stubdom - it is destroyed by toolstack at domain shutdown), I don't >> know if stubdom even support clean shutdown. > > It does since recently, see the app_shutdown() hook. Nice. Any chances to call it for ioemu stubdomains by libxl (even if main domain crashes)? Currently I see no users of app_shutdown(), right? So one solution is to require all libvchan users register libxenvchan_close with atexit. Or perhaps the better idea is implement properly xc_gntshr_share_page_notify with some callback from shutdown_thread? -- Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |