[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Bug of xl?
Hi Stefano, On 06/10/2010 11:09 PM, Stefano Stabellini wrote: > On Thu, 10 Jun 2010, Yang Hongyang wrote: >> 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. >> >> > > I tried to reproduce this problem on my test machine but I couldn't, I > have even used the same config file as you. > I updated to the latest xen tools and the problem is gone, thank you. Maybe I messed up something. > > -- Regards Yang Hongyang _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |