Subject: Re: Using file as wd0d
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/23/2005 20:13:01
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>
NetBSD: 26 ans d'experience feront toujours la difference
--