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] Xen - Operating System or Application

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen - Operating System or Application
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 19:42:01 +0100
Delivery-date: Mon, 15 Aug 2011 11:43:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BLU151-W404C330E96A3AF13F745B4C4260@xxxxxxx>
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: <BLU151-W404C330E96A3AF13F745B4C4260@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Christopher McCormick wrote:

Understanding that "The Xen hypervisor is a layer of software running directly on computer hardware replacing the operating system thereby allowing the computer hardware to run multiple guest operating systems concurrently." is Xen an operating system in the true sense of the term or is it an application that provides operating system like functionality?

Neither !
It is a hypervisor. it sits between the hardware and the OSs.

If you look from the viewpoint of the hardware then it replaces what you would conventionally consider to be the OS. When you boot, Xen is what gets loaded - in place of Windows, Linux, BSD, or whatever your would otherwise have been running.

Xen then loads and runs one or more OSs (even Dom0 is a guest to Xen).


If you look from the other end, then from the OS POV, Xen has replaced the bare metal hardware. So for each guest, access to the hardware is now mediated by this new layer.


So if you are used to an "onion ring" diagram with hardware in the middle, and layers labelled "kernel, OS, utilities, applications" as you go out, then you now have a new layer so the rings now read "hypervisor, kernels, OSs, utilities, applications" - with the key difference that now you would have "pie slices" dividing up all but the hypervisor rings into segments for each guest.


In Xen, Dom0 is still a guest - but it has very privileged access to any hardware that hasn't been hidden from it. This privileged access does give the appearance that it's running directly on the hardware but as I understand it that isn't the case. Also, each guest runs as a separate VM controlled/managed by Xen - and at the same level (distance out in the onion rings) as Dom0.

Other virtualisation systems work differently. Some of them start the privileged OS on the bare metal, and then guests are a guest of this parent OS. Thus your onion rings start with "privileged domain plus hypervisor" in the inner ring, and then the guest OSs in a layer outside of that.

Of course, it's not as simple as there being distinct layers. Xen won't do a great deal for you without active support from tools running in Dom0 - so in a way the line between hypervisor and privileged domain is a bit blurred. Ie, it;s not so different from the old argument about the lines in a typical "Linux" system are between kernel, OS, and utilities.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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

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