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-devel

Re: [Xen-devel] Re: PXE boot

To: Ruediger Berlich <ruediger.berlich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: PXE boot
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 08:32:53 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 29 Jul 2004 08:35:28 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 29 Jul 2004 01:15:46 -0000." <loom.20040729T030839-210@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Hi there, 
>  
> > Xen currently doesn't support booting domains via PXE, though at 
> > some point someone talked about adding it. Basically, the domain 
> > builder would do the PXE request and tftp the kernel image that 
> > would be place in the domain. 
> >  
> > I'm sure you could get the domains booting sans PXE without too 
> > much hassle anyhow. 
>  
> I would assume that it would probably be sufficient to modify the  
> domain builder in a way that, upon request, it executes a script 
> (kind of like a constructor) before the domain starts up. One could do  
> things like setting up a disk image with all needed data (like the kernel 
> image) in that. As everything is physically handled in domain0, this could 
> easily replace  the PXE  boot. And one could of course do many other cool 
> things in such a constructor (and destructor type) script. Or maybe  
> I'm wrong. 

The domain's kernel image is placed in memory by the domain
builder, so doesn't need to come off the domain's virtual disk.

PXE is basically a combination of DHCP and tftp.

We could have the domain builder issue a DHCP request using the
domain it's building's MAC address, then use tftp to fetch the
kernel image into a temporary file that the domain builder can
then use. 

Adding support to xend to do this shouldn't be hard. The only
slightly non trivial bit is sending a DHCP request using someone
else's MAC -- rather than hacking dhclient it's probably easiest
to hand craft something one-shot as you don't need a daemon
(presumably you can rely on the server giving the same address to
the same MAC if asked in quick succession)

Ian


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel