From: Bamvor Jian Zhang Subject: [PATCH 0/2] question on libxl ao Date: Tue, 5 Nov 2013 17:22:09 +0800 Message-ID: <1383643331-6703-1-git-send-email-bjzhang@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: jfehlig@suse.com, Bamvor Jian Zhang , ian.jackson@eu.citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org there are four choices for using ao_how in libvirt. (a), ao without callback and set libxl_sigchld_owner_mainloop (b), ao without callback and set libxl_sigchld_owner_libxl_always (c), ao with callback and set libxl_sigchld_owner_mainloop (d), ao with callback and set libxl_sigchld_owner_libxl_always i got some trouble when i try (b) and (c). i still not decided which one is better choice for implement in libvirt. it would be easier if i could try above four choice. Bamvor Jian Zhang (2): expose child fd in order to handle child exit in libvirt call ao_how callback explicitly tools/libxl/libxl.h | 2 ++ tools/libxl/libxl_event.c | 18 ++++++++++++++++++ tools/libxl/libxl_fork.c | 5 +++++ tools/libxl/libxl_internal.h | 1 + 4 files changed, 26 insertions(+) -- 1.8.1.4