From: Yang Hongyang <yanghy@cn.fujitsu.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Bug of xl?
Date: Fri, 11 Jun 2010 10:51:34 +0800 [thread overview]
Message-ID: <4C11A4B6.1040904@cn.fujitsu.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1006101608110.3401@kaball-desktop>
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
prev parent reply other threads:[~2010-06-11 2:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 9:04 Bug of xl? Yang Hongyang
2010-06-09 15:27 ` Stefano Stabellini
2010-06-10 0:44 ` Yang Hongyang
2010-06-10 15:09 ` Stefano Stabellini
2010-06-11 2:51 ` Yang Hongyang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C11A4B6.1040904@cn.fujitsu.com \
--to=yanghy@cn.fujitsu.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.