From: "Jun Zhu (Intern)" Subject: Re: [PATCH] libxl: fix xenstore connection when run in domU Date: Tue, 31 Aug 2010 10:05:47 +0100 Message-ID: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB4F@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" , "dgdegra@tycho.nsa.gov" List-Id: xen-devel@lists.xenproject.org Hi There are other places that use the xs_daemon_open in libxl. Is it necessor= y to change them as follows? ctx->xsh =3D xs_daemon_open(); + if (!ctx->xsh) + ctx->xsh =3D xs_domain_open(); if (!ctx->xsh) { XL_LOG_ERRNOVAL(ctx, XL_LOG_ERROR, errno,=20 "cannot connect to xenstore"); Jun Zhu Citrix Systems UK=