[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] problem about using xl create to start a domU
On 2016/5/6 16:51, Julien Grall wrote: > Hi Shannon, > > On 06/05/16 03:33, Shannon Zhao wrote: >> 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 > > This looks good to me. To double check, have you enabled > CONFIG_BLKDEV_BACKEND? > Maybe that's the problem. Just now I tried to use ramdisk instead of disk. It can create the domU. kernel = "/home/Image" ramdisk="/home/guestfs.cpio.gz" name = "guest" memory = 512 vcpus = 1 extra = "console=hvc0 root=/dev/ram ro" And I checked that the CONFIG_XEN_BLKDEV_BACKEND is n. Then I select it. root@genericarmv8:~# zcat /proc/config.gz | grep BLKDEV CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_BLKDEV_BACKEND=y But when I create the domU with disk, it still failed: root@genericarmv8:/home# xl create domU.cfg Parsing config from domU.cfg /etc/xen/scripts/xen-hotplug-common.sh: line 23: /var/log/xen/xen-hotplug.log: No such file or directory libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block add [1239] exited with error status 1 libxl: error: libxl_create.c:1252:domcreate_launch_dm: unable to add disk devices /etc/xen/scripts/xen-hotplug-common.sh: line 23: /var/log/xen/xen-hotplug.log: No such file or directory libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [1245] exited with error status 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 root@genericarmv8:/home# cat domU.cfg kernel = "/home/Image" name = "guest" memory = 512 vcpus = 1 extra = "console=hvc0 root=/dev/xvda ro" disk = [ 'phy:/dev/loop0,xvda,w' ] Thanks, -- Shannon _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |