From: Vincent Hanquez Subject: Re: [PATCH] libxenlight: fix multiple xenstore watches problem Date: Thu, 3 Dec 2009 15:41:17 +0000 Message-ID: <20091203154117.GB16654@gwig.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, Dec 02, 2009 at 03:01:32PM +0000, Stefano Stabellini wrote: > Hi all, > this patch fixes the multiple xenstore watches problem in libxenlight > opening a new xenstore connection to set and read temporary watches on > the device state nodes. > This way they don't interfere with other long running watches. This thing doesn't make sense; you're solving the wrong problem with cloning the context. you can open a cheap xenstore connection for temporary watches and be done with it. -- Vincent