Port-xen archive

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

Re: Using file as wd0d



On Wed, Mar 23, 2005 at 12:32:43PM +0200, Martti Kuparinen wrote:
> Hi!
> 
> Is 'file:/filename,wd0d,w' supposed to work as domU disk?

No, as it would duplicate code from vnd(4), I say use vnd(4) instead :)

> 
> I even tried with vnconfig but the kernel panic immediately:
> 
> disk = [ 'phy:/dev/cd0a,cd0a,r', 'phy:/dev/vnd0d,wd0d,w' ]
> 
> # dd if=/dev/zero of=/filename bs=1k seek=20480k count=1
> # vnconfig vnd0 /filename
> # xm create -c /etc/xen/netbsd

This should work, hwoever. I'll look at it.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index