Subject: Re: Unable to start a Xen3 DOMU
To: None <port-xen@netbsd.org>
From: Sarton O'Brien <bsd-xen@roguewrt.org>
List: port-xen
Date: 10/10/2006 11:09:05
On Monday 09 October 2006 19:59, Manuel Bouyer wrote:
> > 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 :)

Makes perfect sense. I was unaware of the requirement for a linux guest and 
just identified that the number used, created a unique location. Good to know 
for if I ever decide to try and get a linux guest running. Mind you, I'd 
probably actually use the official Xen documentation if I wasn't running 
NetBSD ;)

Thanks Manuel.

Sarton