Re: [Xen-devel] [PATCH v2 11/13] tools: split up xen-init-dom0.c

2016-01-06 Thread Wei Liu
On Wed, Jan 06, 2016 at 04:26:10PM +, Ian Campbell wrote: > On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote: > > Split up tools/helpers/xen-init-dom0.c in order to prepare reusing > > generation of the json configuration by init-xenstore-domain.c. > > > > Signed-off-by: Juergen Gross >

Re: [Xen-devel] [PATCH v2 11/13] tools: split up xen-init-dom0.c

2016-01-06 Thread Ian Campbell
On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote: > Split up tools/helpers/xen-init-dom0.c in order to prepare reusing > generation of the json configuration by init-xenstore-domain.c. > > Signed-off-by: Juergen Gross Wei, was there a reason for using atexit() to free the handles which I'm

[Xen-devel] [PATCH v2 11/13] tools: split up xen-init-dom0.c

2015-12-18 Thread Juergen Gross
Split up tools/helpers/xen-init-dom0.c in order to prepare reusing generation of the json configuration by init-xenstore-domain.c. Signed-off-by: Juergen Gross --- tools/helpers/Makefile| 2 +- tools/helpers/init-dom-json.c | 59 ++ tools/helpers/init-dom