[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl create domu :unable to add disk devices
On Tue, Feb 26, 2019 at 09:20:35PM +0800, 敏 wrote: > > I am trying to create domainu(xen on FVP-Base-ReVC-2xAEMv8A)but there is a > > issue > losetup /dev/loop0 /root/domU/rootfs.img > I run the command xl create domu.cfg > the domu.cfg: > > kernel = "/root/domU/zImage > memory = "128" > name = "domU" > vcpus = 1 > disk = [ 'phy:/dev/loop0,xvda,w' ] You could just use: disk = [ 'format=raw, vdev=xvda, access=rw, target=/root/domU/rootfs.img' ] And let the hotplug script map the image to a loop device. > extra = "root=/dev/xvda rw console=" > > libxl:error:libxl_exec.c:118:libxl_report_child_exitstatus:/etc/xen/scripts/block > add[1985] exited with error status 127 > libxl:error:libxl_creat.c:1298:domcreat_launch_dm:Domain6:unable to add disk > devices Can you provide the output when you run `xl -vvv create domu.cfg`? Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |