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] Diff between std, xen0 and xenU kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Diff between std, xen0 and xenU kernel
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Tue, 8 Feb 2005 21:23:20 +0000
Cc: Anthony Liguori <aliguori@xxxxxxxxxx>, Jean-Eric <jec@xxxxxxxx>
Delivery-date: Tue, 08 Feb 2005 21:31:21 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <42092515.9070108@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: <42091058.2020503@xxxxxxxx> <42092515.9070108@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> > And is the xen0 instance different from the xenU instances? Or is it
> > just another xenU instance in fact?
>
> A little bit.  It mostly has to do with the initrd setup code. 

Is it not the same for both?  What's different?

> However, 
> I think there was a thread on a list where someone said you could in
> fact use a xen0 kernel within xenU if you had the right drivers enabled.

Xen0 kernels will run in an unprivileged domain so long as you have built in 
the frontend drivers (this happens by default in -testing and -stable, I 
think).

> Really, the biggest difference is that xen0 domain has backend device
> drivers and the xenU kernel has the front-end version of those drivers.

The Xen0 kernel also has drivers for "real" hardware, whereas the xenU kernel 
contains only "virtual" drivers.  The xenU kernel is smaller as a result, 
which is the reason we provided.  You don't strictly *need* the xenU kernel 
at all.

> > And if I run programs in the xen0 instance, will it degrade perf of
> > xenU instances? Or render them less secure (in term of isolation)?

It won't matter to performance any more than running applications in the 
unprivileged instances would.

Regarding security you need to keep in mind that an attacker who gains root 
privileges in domain 0 will be able to get root privileges in every domain on 
the machine.  Thus if you're running an internet-facing machine you should 
make sure that domain 0 exposes as few services to the internet as possible.

Cheers,
Mark


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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