From: "Jun Zhu (Intern)" Subject: RE: [PATCH V4] libxl: make libxl communicate with xenstored by socket or xenbus driver Date: Thu, 16 Sep 2010 20:21:21 +0100 Message-ID: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB6F@LONPMAILBOX01.citrite.net> References: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB6A@LONPMAILBOX01.citrite.net> <19599.41566.729352.138960@mariner.uk.xensource.com> <1284540109.14311.18387.camel@zakaz.uk.xensource.com>, <19602.18229.95233.935776@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <19602.18229.95233.935776@mariner.uk.xensource.com> Content-Language: en-GB 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 Jackson , Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi,=20 The functions, such as dm_xenstore_record_pid, do not have a ctx pointer in= its function parameters. In these functions, if they invoke the libxl__xs_= open, it does not have ctx pointer. Should we use the extern ctx directly? = I find only the functions in xl_cmdimpl.c use ctx in this way, and the othe= r functions under libxl get the ctx pointer from its function parameter. =20 Jun Zhu Citrix Systems UK ________________________________________