[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Problem when using raw/file in disk parameter
Hi everyone,I have an ARM environment with the Linux Kernel 3.19, Ubuntu 12.04 filesystem and Xen 4.4 for ARM. I can successfully intantiate VMs using a loopback device as the disk, and 'phy' as the disk driver for Xen. The following script works well: kernel = "zImage" memory = 512 name = "Linaro" vcpus = 2 serial="pty" disk = [ 'phy:/dev/loop0,xvda,w' ] vif = ['bridge=br0'] extra = 'console=hvc0 xencons=tty root=/dev/xvda'The problem is that I need to instantiate VMs with 'raw'/'file' drivers, like the script below. kernel = "zImage" memory = 512 name = "Linaro" vcpus = 2 serial="pty" disk = [ 'file:/home/admin/linaro.img,xvda,w' ] vif = ['bridge=br0'] extra = 'console=hvc0 xencons=tty root=/dev/xvda' But, when I try to create a VM, the following error is ocurring:libxl: error: libxl_dm.c:1255:libxl__spawn_local_dm: device model /usr/lib/xen-4.4/bin/qemu-dm is not executable: No such file or directory libxl: error: libxl_dm.c:1393:device_model_spawn_outcome: (null): spawn failed (rc=-3) libxl: error: libxl_create.c:1189:domcreate_devmodel_started: device model did not start: -3 I've noticed that there was no qemu-dm in /usr/lib/xen-4.4/bin/. So I've added the following lines to the script: device_model_version="qemu-xen" device_model_override="/usr/bin/qemu-system-i386" Now, Xen can find qemu-dm, but the following error is ocurring:libxl: error: libxl_dm.c:1393:device_model_spawn_outcome: domain 16 device model: spawn failed (rc=-3) libxl: error: libxl_create.c:1189:domcreate_devmodel_started: device model did not start: -3 libxl: error: libxl_dm.c:1497:kill_device_model: Device Model already exitedIf I try to execute qemu-dm from /usr/bin/qemu-system-i386 it outputs the following error: Could not initialize SDL(No available video device) - exitingI am using a Cubietruck (http://www.cubietruck.com) that has no video device. I have framebuffer enabled and connect via SSH to use it. Xen should use it only for emulating VMs' disks. How can I fix this problem? Thanks! _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |