All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shannon Zhao <zhaoshenglong@huawei.com>
To: Stefano Stabellini <sstabellini@kernel.org>,
	Stefano Stabellini <stefano@aporeto.com>
Cc: Hangaohuai <hangaohuai@huawei.com>,
	julien.grall@arm.com, xen-devel <xen-devel@lists.xen.org>
Subject: Re: problem about using xl create to start a domU
Date: Fri, 6 May 2016 10:33:49 +0800	[thread overview]
Message-ID: <572C028D.1020909@huawei.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1605051136150.2363@sstabellini-ThinkPad-X260>

Below is the output of xenstore-ls:

root@genericarmv8:/home# xenstore-ls -f
/tool = ""
/tool/xenstored = ""
/local = ""
/local/domain = ""
/local/domain/0 = ""
/local/domain/0/domid = "0"
/local/domain/0/name = "Domain-0"
/vm = ""
/libxl = ""

"ps -ef" prints:

root      1050     1  0 Jul10 ?        00:00:00
/usr/local/sbin/xenstored --pid-file /var/run/xenstored.pid

root      1135     1  0 Jul10 ?        00:00:00
/usr/local/sbin/xenconsoled --pid-file=/var/run/xenconsoled.pid


On 2016/5/5 18:36, Stefano Stabellini wrote:
> CC'ing new Julien's email address.
> 
> On Thu, 5 May 2016, Stefano Stabellini wrote:
>> It looks like something is wrong with xenstore. Is xenstored running?
>> Can you do xenstore-ls in dom0?
>>
>> On Thu, 5 May 2016, Shannon Zhao wrote:
>>> Hi,
>>>
>>> I'm going to create a domU for XEN on ARM64. I'm following [1] to cross
>>> compile the xen tools and [2] to create domU. One thing different is
>>> that I'm using Build_AEMv8A-AEMv8A fastmodel.
>>>
>>> After executing "/etc/init.d/xencommons start", xl list shows:
>>>
>>> Name       ID   Mem VCPUs      State   Time(s)
>>> Domain-0   0   256     2     r-----      27.3
>>>
>>> Then I execute "losetup /dev/loop0 domU.img" and xl create domU.cfg, it
>>> prints below logs:
>>> Parsing config from domU.cfg
>>> libxl: error: libxl_device.c:1033:device_backend_callback: unable to add
>>> device with path /local/domain/0/backend/vbd/1/51712
>>> libxl: error: libxl_create.c:1252:domcreate_launch_dm: unable to add
>>> disk devices
>>> libxl: error: libxl_device.c:1033:device_backend_callback: unable to
>>> remove device with path /local/domain/0/backend/vbd/1/51712
>>> libxl: error: libxl.c:1636:devices_destroy_cb: libxl__devices_destroy
>>> failed for 1
>>> libxl: error: libxl.c:1564:libxl__destroy_domid: non-existant domain 1
>>> libxl: error: libxl.c:1523:domain_destroy_callback: unable to destroy
>>> guest with domid 1
>>> libxl: error: libxl.c:1452:domain_destroy_cb: destruction of domain 1 failed
>>>
>>> Is there anything I missed?
>>>
>>> [1]http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling
>>> [2]https://wiki.linaro.org/LEG/Engineering/Virtualization/Xen_on_ARMv8_Foundation
>>>
>>> Thanks,
>>> -- 
>>> Shannon
>>>
>>
> 
> .
> 

-- 
Shannon


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-05-06  2:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05  3:22 problem about using xl create to start a domU Shannon Zhao
2016-05-05 10:33 ` Stefano Stabellini
2016-05-05 10:36   ` Stefano Stabellini
2016-05-06  2:33     ` Shannon Zhao [this message]
2016-05-06  8:51       ` Julien Grall
2016-05-06  9:52         ` Shannon Zhao
2016-05-06 10:03           ` Stefano Stabellini

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=572C028D.1020909@huawei.com \
    --to=zhaoshenglong@huawei.com \
    --cc=hangaohuai@huawei.com \
    --cc=julien.grall@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=stefano@aporeto.com \
    --cc=xen-devel@lists.xen.org \
    /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.