WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] pygrub documentation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] pygrub documentation
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 16 Apr 2007 18:40:51 +0100
Cc: "Luke S. Crawford" <lsc@xxxxxxxxx>
Delivery-date: Mon, 16 Apr 2007 10:39:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.NEB.4.64.0704152329020.28363@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.NEB.4.64.0704152329020.28363@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> Is there any available documentation for pygrub that is higher-level than
> the pygrub sources themselves?  specifically, I am wondering if pygrub
> copies the kernel to the Dom0 or if it just kexec's it within the DomU.

I'm not sure if there's any documentation, although you may find some 
description in mailing list discussions when the patches were released / 
reviewed, etc.

It uses a FS access library to read data from the domU's disk (specifically 
the grub-style config file and then the images it specifies), then boots 
these from dom0 using the standard domain builder.

Older versions of pygrub ran from xm on the local console; new ones are 
plumbed so their output goes through the same socket as the domain's console 
output, so it's more seamless to users.

I don't think domU kexec is currently supported by the main codebase, but I am 
of the opinion it that would have a number of advantages for bootloading 
(including reducing the amount of dom0 code that must touch potentially 
malicious domU data).  kboot (kboot.sf.net) would be a worthwhile thing to 
try running in this context...

HTH,
Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>