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] Several questions from a freshman to Xen

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Several questions from a freshman to Xen
From: "Zhengwang Ruan (Royo)" <zhengwang.ruan@xxxxxxxxx>
Date: Fri, 14 Oct 2011 20:55:19 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Oct 2011 05:56:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=RXji2W36NO3qozLWhAvyOYPh6DvFYs12ZAAMrtiReAw=; b=W7mqPCId0wFFP+yXKiMo4ehinsTXj8Wf0lt9Gs1Y5Loc28WKyiEmezENtfMHR3zWXJ zV1TUgZjCoBgaE8lAi0RC2yTHG00DUER9TbK3LIxo+wtEWrpYhOkzz4wuddoKtBqQqkC pUSQlPOIUFGdqvJb0nfNpAaLrDBgqGo4uWkXA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111013190735.GM12984@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4E9708E5.9060104@xxxxxxxxx> <20111013190735.GM12984@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15


On 2011年10月14日 03:07, Pasi Kärkkäinen wrote:
On Thu, Oct 13, 2011 at 11:51:01PM +0800, Zhengwang Ruan (Royo) wrote:
Hi Guys,

Hello,

I am new man with some confusions to this amazing technology, hope you  
guys give answers to help me better understand Xen. :)

Maybe this wiki page gives some general info about Xen:
http://wiki.xen.org/xenwiki/XenOverview


And these PDFs:
http://xen.org/files/Marketing/WhatisXen.pdf
http://xen.org/files/Marketing/WhyXen.pdf


1, You guys have been working on developing many releases, do you guys  
have agreements on developing every source code based on a fixed linux  
kernel version before starting a new release? If so, how could I know  
the corresponding kernel version to a given xen release? I tried to find  
answer for myself on the following wiki page, but it is not latest 
enough.


    
Are you talking about dom0 kernel? or domU kernel?

Xen hypervisor (xen.gz) is the compatibility layer,
so dom0 and domUs (VMs) can all have different Linux kernel versions.

Hi Pasi,


I refer to dom0 here. I got many details on wiki http://wiki.xen.org/xenwiki/XenParavirtOps , it helps me understand some.

From this page, I know you guys developed xen-3.x based on linux-2.6.18, and and xen-4.x on 2.6.32, am I right? So these two versions of kernel should be supported mostly, right?

For domU, each kernel from kernel.org should be working as a guest?



      
http://wiki.xen.org/xenwiki/DistributionSupport

2, I found some interesting source files in xen-4.1.1 release, I listed  
them below:

$ ll
drwx------ 4 royo royo 16384 2011-10-12 00:20 arch/
drwx------ 5 royo royo 16384 2011-06-15 00:03 common/
-rw-r--r-- 1 royo royo 19185 2011-06-15 00:03 COPYING
drwx------ 2 royo royo 16384 2011-06-15 00:03 crypto/
drwx------ 8 royo royo 16384 2011-06-15 00:03 drivers/
drwx------ 9 royo royo 16384 2011-06-15 00:03 include/
-rw-r--r-- 1 royo royo  5529 2011-06-15 00:03 Makefile
-rw-r--r-- 1 royo royo  3498 2011-06-15 00:03 Rules.mk
drwx------ 3 royo royo 16384 2011-06-15 00:03 tools/
drwx------ 4 royo royo 16384 2011-06-15 00:03 xsm/

Are these files going to replace or be added to linux kernel source  
while making dm0? I am amazed that this release can be installed to many  
linux distributions with different kernel, how could you guys achieve 
this?

Xen hypervisor (xen.gz) is a totally separate binary, it's not "mixed" to/with Linux kernel.

And, xen-4.1.1 is compiled to generate xen.gz which is started by dom0 and running on/inside dom0 as Hypervisor?

- For Xen dom0 you need to use a Linux kernel that has Xen dom0 support enabled.
- For Xen PV domUs (VMs) you need to use a Linux kernel that has Xen PV domU support enabled.
- For Xen HVM VMs you don't need a special kernel, but having Xen PVHVM drivers in the kernel will boost disk/net 

PVHVM drivers are implemented using xenbus? The drivers in xenbus/ directory are you called PVHVM drivers?

Thanks,
Royo

performance.

Xen related features in different Linux kernel versions:
http://wiki.xen.org/xenwiki/XenParavirtOps


-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>