From: Ian Campbell Subject: Re: [PATCH 01/19] libxl: init: Provide a gc later in libxl_ctx_alloc Date: Thu, 13 Mar 2014 16:20:10 +0000 Message-ID: <1394727610.16364.0.camel@kazak.uk.xensource.com> References: <1393945016-1417-1-git-send-email-ian.jackson@eu.citrix.com> <1393945016-1417-2-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1393945016-1417-2-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: Ian Jackson Cc: Shriram Rajagopalan , xen-devel@lists.xensource.com, Lai Jiangshan , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2014-03-04 at 14:56 +0000, Ian Jackson wrote: > Provide libxl__gc *gc for the second half of libxl_ctx_alloc. > (For the first half of the function, gc is in scope but set to NULL.) > > This makes it possible to make gc-requiring calls. For example, it > makes error logging more convenient. > > Make use of this by changing the logging calls to use the LOG* > convenience macros. > > Signed-off-by: Ian Jackson > CC: Stefano Stabellini Acked-by: Ian Campbell