xl create doesn't bring up console

Posted by ineff on Server Fault See other posts from Server Fault or by ineff
Published on 2012-03-19T20:40:25Z Indexed on 2012/03/23 11:32 UTC
Read the original article Hit count: 192

Filed under:
|

I've tryed to run VM in Xen 4.2 using xl command (for what I get this should be standard toolstack, while xm is deprecated).

In this case I've the following configuration file

kernel = '/media/home_separata/domU_kernel/boot/vmlinuz-linux'                  
ramdisk = '/media/home_separata/domU_kernel/boot/initramfs-linux.img'
name = "domU_Arch_linux"
memory = "512"
root = '/dev/xvda1 ro'
disk = ['file:/media/home_separata/domU_kernel/arch_linux_kernel.img,xvda1,w']
vif = ['mac=aa:::10:11:f1,ip=192.168.0.2,bridge=xenbr0']

when I try to start the virtual machine with xl create it seems it works (it also bring up the vif interfaces) but if I try to connect via xl console it gives an error:

xenconsole: Could not read tty from store: No such file or directory

the fun fact is that the I've the problem inverse using xend/xm (in that case xend doesn't bring up vif interfaces but activate console).

Does anyone have any suggestion?

© Server Fault or respective owner

Related posts about virtualization

Related posts about xen