Subject: Re: CVS commit: src/sys/arch/i386/conf
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 02/05/2006 17:46:42
On Sun, Feb 05, 2006 at 05:28:26PM +0100, Julio M. Merino Vidal wrote:
> >In fact, options MULTIBOOT doesn't have any effect here, as Xen guest
> >kernels don't use multiboot and none of the files affected by  
> >MULTIBOOT
> >are used for Xen kernels.
> >Please revert this
> 
> Hmm, but aren't Domain 0 kernels booted from the traditional boot
> loader?  Can't they be loaded by GRUB too?

No, grub load the Xen kernel, and the domain0 kernel as a module.
Then is passes the control to the Xen kernel, which is responsible
for setting up a few things (especially memory management) and then
can the domain0 kernel's entry point. informations are not passed
to the domain0 kernel using multiboot, but a Xen-specific structure.
The bootstrap process is completely different from i386, especially
because the CPU is already running in virtual mode.

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