Port-amd64 archive

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

Re: Booting a NetBSD-amd64 kernel with "grub"



Matthias Scheler wrote:
On Mon, May 19, 2008 at 11:17:01PM +0200, Christoph Egger wrote:
What part of multiboot would it have to support? Just passing the
arguments to the kernel? Or does the Xen kernel also use grub to
load the dom0 kernel?
Yes. You specify the dom0 via grubs "module" directive.

I know that part.

From there, Xen knows the dom0 binary and boots it.

But how? My guess is that the Xen kernel uses grub to load the dom0 kernel
via some kind of call. Can somebody confirm that?

No. From Grub, Xen gets the information where the dom0 binary is and which parameters to pass.

Xen itself loads the binary and runs it.

The dom0 binary has a "__xen_guest" section where Xen knows where
to jump in.

Christoph


Home | Main Index | Thread Index | Old Index