Subject: Re: Unable to start a Xen3 DOMU
To: Sarton O'Brien <bsd-xen@roguewrt.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/09/2006 11:59:51
On Mon, Oct 09, 2006 at 08:38:29AM +1000, Sarton O'Brien wrote:
> On Monday 09 October 2006 04:23, Manuel Bouyer wrote:
> > > 	disk = [ 'file:/home/xen/haaretz.vnd,wd0a,w' ]
> >
> > Change wd0a with 0x01
> 
> I'm currently just using the numerals 0 through to 9 as the device, instead of 
> 0x01, 0x02 etc. What is the reason for the 0x01 convention? Is it so you can 
> increase devices further upon incrementation?

This number is supposed to be a device number (e.g. on linux: 0x301 for hda1,
0x302 for hdab2, ...). A linux guest does care and has to be passed the
right device number, a NetBSD guets doesn't and can be passed any number
(provided they are different for different devices in the same guest).
Now, for a linux guest you can use 769 instead of 0x301, but it's easier to
read in hex :)

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--