From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Marczykowski Subject: Re: [PATCH 0/7] Optionally add libvchan to stubdom Date: Mon, 29 Apr 2013 01:08:52 +0200 Message-ID: <517DAC04.5050602@invisiblethingslab.com> References: <20130428225204.GN4962@type.youpi.perso.aquilenet.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4269519715506094060==" Return-path: In-Reply-To: <20130428225204.GN4962@type.youpi.perso.aquilenet.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Samuel Thibault , xen-devel@lists.xen.org, Stefano Stabellini , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4269519715506094060== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2KVCOROOIIPHBBHJQXMHD" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2KVCOROOIIPHBBHJQXMHD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 29.04.2013 00:52, Samuel Thibault wrote: > Marek Marczykowski, le Fri 26 Apr 2013 16:45:05 +0200, a =C3=A9crit : >> 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 dea= th. In >> stubdom there is no such place - if exit() is called anywhere, the who= le >> stubdom is terminated. >=20 > We could implement an atexit. >=20 >> 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. >=20 > It does since recently, see the app_shutdown() hook. Nice. Any chances to call it for ioemu stubdomains by libxl (even if main domai= n crashes)? Currently I see no users of app_shutdown(), right? So one solution is to require all libvchan users register libxenvchan_clo= se with atexit. Or perhaps the better idea is implement properly xc_gntshr_share_page_not= ify with some callback from shutdown_thread? --=20 Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab ------enig2KVCOROOIIPHBBHJQXMHD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRfawEAAoJENuP0xzK19cs97sH/Rmc3CC0w0dC4amy0G2sWrl/ F4LAX8Te+1vQQxiSYDYq2gGV1o4EAfJS9CR3EwqWAaPsgAuQZ5XxdZwApc8372S5 RzTiRaUnP1RS1p2ydppA4A+SJhKKKkPuahy8TrG2cxn31YK41DEJNaSurF4kw92r ZLY8KcHtbOlGTIqJaJ4bDEZFIQ23Lzu6vILI360yijaziftKLNF6qBNXu9ZNSLoA AXyRuXiH1vEEqNtG1v8S2WuxJ74ATplbMLQcoI+vCtfd9sRFUBFZapo41pkFG7Tj mwoOLI7C1IdWpdc6q0DjMuabmBG1K5Q/DHIHeZldboEtZVeqh5xmxH0d2YHs8F4= =1e1h -----END PGP SIGNATURE----- ------enig2KVCOROOIIPHBBHJQXMHD-- --===============4269519715506094060== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4269519715506094060==--