WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Bug of xl?

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Bug of xl?
From: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
Date: Thu, 10 Jun 2010 08:44:13 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Jun 2010 17:44:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1006091619550.3401@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: <4C0F590C.5050905@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1006091619550.3401@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
Hi Stefano,

On 06/09/2010 11:27 PM, Stefano Stabellini wrote:
> On Wed, 9 Jun 2010, Yang Hongyang wrote:
>> While I'm using 'xl create' to install centos 5,
>> I got following error. But with the same config,
>> 'xm create' succesfully installed the vm.
>> So I wonder if this is a bug of xl?
>>
>> Below is the config and xl output, If it doesn't
>> help, ask me for more imformations if you want.
>>
>> config:
>> ==========================================
>> kernel = "/mnt/images/xen/vmlinuz"
>> ramdisk = "/mnt/images/xen/initrd.img"
>> extra = "text"
>> name = "centos"
>> memory = "256"
>> disk = [ 'file:/home/yanghy/vm/centos.img,xvda,w' ]
>> vif = [ 'bridge=eth0' ]
>> vcpus=1
>> on_reboot = 'destroy'
>> on_crash = 'destroy'
>> =======================================
>>
> 
> I think it is worth trying with a loop device instead of a file:
> 
> - create a loop device on your host
> losetup /dev/loop0 /home/yanghy/vm/centos.img
> 
> - use 'disk = [ 'phy:/dev/loop0,xvda,w' ]' in your config
> 
> If it works it is probably a bug in libxl's blktap support.
> 
> 
> 


Still have the problem with loop devices.


-- 
Regards
Yang Hongyang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>