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] Multiple priviliged domains

To: Mark Williamson <maw48@xxxxxxxxxx>
Subject: Re: [Xen-devel] Multiple priviliged domains
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Sun, 19 Dec 2004 12:52:11 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, John L Griffin <jlg@xxxxxxxxxx>
Delivery-date: Sun, 19 Dec 2004 19:53:19 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <200412191825.06913.maw48@xxxxxxxxxx>
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>
References: <OFED209BE8.61BE3DC0-ON85256F6F.0017749D-85256F6F.00204FF3@xxxxxxxxxx> <200412191825.06913.maw48@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20041122)
Mark Williamson wrote:
l.

Obviously, dom0 will need control of some physical devices inorder to have something to boot from (unless ofcourse you use a *really big* initrd :-) ).


hi,

In my setup, you do not need a very large initrd to do this. Essentially, the only thing running in dom0 is a simple ICMP/ping server. You send a specially formatted and signed ping payload to dom0, and in response to that it fires up a new VM with a UIP TCP/IP stack inside. You then connect to that TCP/IP stack, and self-migrate or (eventually, not implemented yet) bootstrap directly into the unprivileged guest. Dom0 does not need to have a TCP/IP stack, and at present the ping server main loop is only 50 lines of code.

With pre-NGIO version of Xen 1.3 that I am currently using, all you need in your dom0-initrd is the ping server and an ELF image from which to create UIP guest VMs. I am hoping that in the future the parts of xend that have to do with setting up network interfaces to domains will split out into a small C executable, as that would allow me to provide similar functionality for Xen 2.0 or 2.1.

Source and binaries are available from
http://www.diku.dk/~jacobg/self-migration/

Jacob

PS: I do apologize to the long-time subscribers who are fed with me spamming this list with ads for self-migration stuff every time a new user who could find this relevant shows up on the list. Perhaps I can convince the Xen webpage maintainers to link to my stuff as a related project?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel