From: Ian Jackson Subject: RE: [PATCH V4] libxl: make libxl communicate with xenstored by socket or xenbus driver Date: Thu, 16 Sep 2010 17:35:01 +0100 Message-ID: <19602.18229.95233.935776@mariner.uk.xensource.com> References: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB6A@LONPMAILBOX01.citrite.net> <19599.41566.729352.138960@mariner.uk.xensource.com> <1284540109.14311.18387.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1284540109.14311.18387.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "Jun Zhu (Intern)" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("RE: [Xen-devel] [PATCH V4] libxl: make libxl communicate with xenstored by socket or xenbus driver"): > On Tue, 2010-09-14 at 17:27 +0100, Ian Jackson wrote: > > Then the right answer is to make it take a ctx parameter, surely ? > > gc->owner contains the surrounding context, doesn't it? Yes. So passing a gc to libxl__xs_open would be just as good (better probably, for consistency). Jun Zhu's libxl__xs_open took neither. > > And ensure that during initialisation, the logging is initialised > > before the xenstore connection.) > > This seems to be the case in libxl_ctx_init(). I thought it would be; I'm trying to help Jun out by pointing out the things that need to be checked when preparing this patch. Ian.