[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem when using raw/file in disk parameter



On 22/08/16 20:51, Cristiano Carlos Matte wrote:
> 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'

Try with:

disk = [ 'file:/home/admin/linaro.img,xvda,w,backendtype=phy' ]

This will use the phy backend with your file based image.


Juergen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.