Andrzej Szeszo wrote:
> Yeah, it should work. It was working fine on snv_86 dom0.
>
> This works:
> # lofiadm 
> Block Device             File                           Options
> /dev/lofi/1              /export/disk.img               -
> # cat /export/home/aszeszo/os
> name = "opensolaris"
> vcpus = 1
> memory = "512"
> #disk = ['file:/export/disk.img,0,w']
> disk = ['phy:/dev/lofi/1,0,w']
> vif = ['']
>
> It doesn't work with the below:
> # lofiadm 
> Block Device             File                           Options
> # cat /export/home/aszeszo/os
> name = "opensolaris"
> vcpus = 1
> memory = "512"
> disk = ['file:/export/disk.img,0,w']
> #disk = ['phy:/dev/lofi/1,0,w']
> vif = ['']
>
> I am seeing this message in the logs:
> May  7 10:56:24 v-aszeszo xdb: [ID 269379 kern.warning] WARNING: [EMAIL 
> PROTECTED],0: Failed to create lofi dev for /export/disk.img
>   
Hmm...xdb will call lofi_ioctl() to create the lofi device. So, 
lofi_ioctl() could be failing...
Could you run below dtrace command to find out what is the return value 
of lofi_ioctl():
#dtrace -n fbt:lofi:lofi_ioctl:return'{trace(arg1)}'
You need to first run above command, then start your domain.

Thanks,
Max
> I am seeing the same behaviour with other disk/iso images as well.
>
> Regards,
>
> Andrzej
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> xen-discuss mailing list
> [email protected]
>   
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to