From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] libxc: free thread specific hypercall buffer on xc_interface_close Date: Thu, 19 Aug 2010 14:39:55 +0200 Message-ID: <201008191439.56338.Christoph.Egger@amd.com> References: <201008181804.56934.Christoph.Egger@amd.com> <1282148788.3170.1221.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1282148788.3170.1221.camel@zakaz.uk.xensource.com> Content-Disposition: inline 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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wednesday 18 August 2010 18:26:28 Ian Campbell wrote: > On Wed, 2010-08-18 at 17:04 +0100, Christoph Egger wrote: > > This patch prevents me from starting a guest until > > the outstanding issue - namely why is hcall_buf_prep() never called - > > is solved. > > You wouldn't expect hcall_buf_prep to be called if you opened the xc > interface and then closed it without doing a hypercall which required > any locked down memory. > > This updated version of the patch was intended to handle exactly this > case Yes, it works. The issue was in the debug code itself. After removing the trace code I am able to start guests again. Thanks for your help. > since it appears that under NetBSD it can cause issues. I am wondering why this issue didn't appear on Linux. Does Linux have some kind of auto-initialization? Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632