This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"
From: "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Date: Mon, 18 Oct 2010 13:45:56 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 17 Oct 2010 22:47:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1010151536010.2423@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <749B9D3DBF0F054390025D9EAFF47F222FDD26C4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1010151536010.2423@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActsdoJedHlk06BhSom+r2cA+TfOJwCDZbXA
Thread-topic: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Stefano Stabellini
> Sent: Friday, October 15, 2010 10:37 PM
> To: Zhang, Yang Z
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Stabellini; Stefano
> Subject: [Xen-devel] Re: xl create stop at "Parsing config file xl.config"
> On Fri, 15 Oct 2010, Zhang, Yang Z wrote:
> > Hi
> > I pull the latest source(22241) and try to boot guest with xl. But it fail 
> > to
> create guest.
> > When I type xl create xl.config, it never returns and stop at "Parsing 
> > config file
> xl.config ".
> > And it works with change set 22155.
> >
> > Attachment is my config file.
> You have unicode characters in your config file, use "cat -vet" to see
> them.
Hi Stefano, I have check again. There has no problem with my config file.       
After investigation, I found this issue was introduced by 22204. The function 
freemem never returned when creating guest. It called 
libxl_get_free_memory()->libxl_get_free_memory_slack() to read the value of 
/local/domain/0/memory/freemem-slack from xenstore. But with xenstore-ls, I 
found there doesn't have entry named  freemem-slack in /local/domain/0. And the 
function will do an infinite loop try to get freemem-slack. That why the "xl 
create xl.config" never returned. 

best regards

Xen-devel mailing list