From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: xl create: endless loop Date: Mon, 18 Oct 2010 14:50:35 +0200 Message-ID: <201010181450.36050.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi! I cannot start a guest with 'xl create' due to an endless loop in libxl.c, function libxl__get_free_memory_slack(): There is this code snippet: retry: free_mem_slack_s = libxl__xs_read(gc, XBT_NULL, free_mem_slack_path); if (!free_mem_slack_s) { rc = libxl__fill_dom0_memory_info(gc, &target_memkb); if (rc < 0) return rc; goto retry; } else { libxl__xs_read() returns 0 and libxl__fill_dom0_memory_info() also returns 0. So there's a loop of retries. 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