From: Ian Jackson Subject: Re: [PATCH 0/2] question on libxl ao [and 1 more messages] [and 1 more messages] Date: Tue, 5 Nov 2013 19:23:34 +0000 Message-ID: <21113.17846.449853.173269@mariner.uk.xensource.com> References: <21113.5942.487235.634777@mariner.uk.xensource.com> <1383679153-3137-1-git-send-email-ian.jackson@eu.citrix.com> <1383643331-6703-1-git-send-email-bjzhang@suse.com> <1383643331-6703-2-git-send-email-bjzhang@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21113.5942.487235.634777@mariner.uk.xensource.com>, <1383679153-3137-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bamvor Jian Zhang Cc: jfehlig@suse.com, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [PATCH 0/2] question on libxl ao [and 1 more messages]"): > Bamvor Jian Zhang writes ("[PATCH 1/2] expose child fd in order to handle child exit in libvirt"): > > libvirt could handle fd and timeout event through > > libxl_osevent_hooks. either of these will not inform the child > > exit if libvirt set the libxl_sigchld_owner_libxl_always. > > I don't exactly follow, but I think you have found a bug. ... Can you try these three patches: Ian Jackson writes ("[PATCH 0/3] libxl: event system: SIGCHLD related fixes"): > libxl's SIGCHLD handler is broken if libxl_sigchld_owner_libxl_always > and does not always work correctly with the fd registration system. > > 1/3 libxl: event system: pass gc, not just ctx, to internal > 2/3 libxl: event system: Make > 3/3 libxl: event system: properly register the SIGCHLD > > Reported-by: Bamvor Jian Zhang > Signed-off-by: Ian Jackson > Cc: Bamvor Jian Zhang > Cc: Ian Campbell > Cc: Jim Fehlig I've pushed them to git://xenbits.xen.org/people/iwj/xen.git#bamvor-sigchld-fixes-v1 http://xenbits.xen.org/gitweb/?p=people/iwj/xen.git;a=shortlog;h=refs/heads/bamvor-sigchld-fixes-v1 Thanks, Ian.