From: Mark Williamson Subject: Re: Kernels: Xen's kernel and dom0's kernel Date: Sun, 13 Jan 2008 16:45:46 +0000 Message-ID: <200801131645.47272.mark.williamson@cl.cam.ac.uk> References: <52811.68121.qm@web57604.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52811.68121.qm@web57604.mail.re1.yahoo.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ahmad Azihan List-Id: xen-devel@lists.xenproject.org > Am a lil confused with this. I'm tryin to develop something that's > supposed to run on the Xen kernel but how sure can I be? According to a > colleague I'm actually coding on dom0's kernel. Point me to the right > directions please? Thank u. Xen itself is a hypervisor - it's a thin "kernel"-like entity that runs directly on the hardware in the system and controls access to that hardware at a low level. Instead of running processes, Xen runs "domains". A domain is a running guest operating system. Dom0 is the first domain to be started, then you may start a number of other less privileged domains. If you're writing tools, management apps, etc then you would target the userspace environment of domain 0 - this is usually much the same as a normal Linux environment. It's insulated from the low level features of Xen by the Linux kernel it is running on - Linux itself is what is running on top of Xen. If you're writing something that would run as a guest operating system, then you're writing a guest operating system kernel to run directly on top of Xen. Cheers, Mark -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/pmpu/)