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] difference between Xen and Dom0 kernel

To: Tapas Mishra <tapas@xxxxxxxxxxxx>
Subject: Re: [Xen-users] difference between Xen and Dom0 kernel
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 12 Nov 2009 16:15:20 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Nov 2009 01:15:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d3020560911120047h24410539r2a188f9362924b41@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d3020560911120047h24410539r2a188f9362924b41@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Nov 12, 2009 at 3:47 PM, Tapas Mishra <tapas@xxxxxxxxxxxx> wrote:
> I want to know what is the difference between Xen and a Dom 0 kernel.
> Then using Xen hypervisor and xen tools what are they.

A hypervisor "is a piece of software/hardware platform-virtualization
software that allows multiple operating systems to run on a host
computer concurrently". These "mutiple operating systems" are called
domains (dom) in Xen terminology. In an over-simplified term, the
hypervisor will take care of allocating resources (CPU, memory, etc.)
between the multiple running OS. The xen hypervisor is usually
installed as /boot/xen*.gz on Linux dom0s. To control the xen
hypervisor you need xen userland tools (example: /usr/sbin/xm).

dom0 is special priviledged domain which has access to physical I/O
resources (storage, NIC) and makes it available for other domains
(domUs). It requires a special kernel (dom0 kernel) that supports Xen
and have the necessary drivers to access physical resources.

PV domUs are special kind of domUs which requires domU kernel to be
modified to support Xen, thus providing minimum performance penalty.
dom0 kernel can also be used as PV domU kernel.

HVM domU is a kind of domU that doesn't require kernel modification.
Most modern OS (e.g. Windows XP, Linux, Solaris 10) can run inside HVM
domU using the same installer that you use to run it on bare metal.
Usually it has higher performance penalty compared to PV domU.

Note that Linux KVM takes a different approach from Xen : the kernel
of priviledged domain also acts as hypervisor.
Also the future goal is to integrate Xen support into upstream so that
in the future you can have one kernel that can run on bare metal and
Xen dom0/domU.

-- 
Fajar

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