Chinaunix首页 | 论坛 | 博客
  • 博客访问: 591300
  • 博文数量: 197
  • 博客积分: 7001
  • 博客等级: 大校
  • 技术积分: 2155
  • 用 户 组: 普通用户
  • 注册时间: 2005-02-24 00:29
文章分类

全部博文(197)

文章存档

2022年(1)

2019年(2)

2015年(1)

2012年(100)

2011年(69)

2010年(14)

2007年(3)

2005年(7)

分类: 虚拟化

2011-12-04 20:15:53

xen-3.0.3_0-src directories.

http://lists.xensource.com/archives/html/xen-devel/2007-02/msg00771.html

(注:我下载了3.023.03的代码与下面不符,难道下面所说的是安装包)
1. linux-2.6.-xen-sparse
2. pristine-linux-2.6.16.29
3. linux-2.6.16.29-xen
4. ref-linux-2.6.16.29
5. linux-2.6.16.29-xen0
6. linux-2.6.16.29-xenU
7. xen
8. unmodified_drivers

The pristine directory is a "direct copy of kernel.org sources" (or whatever sources where used to generate the patched version of Linux). This is used if you want to "make patches" to port to a different version of Linux.

 

The sparse directory contains the xen-modified source-code, which is "merged" with pristine to create the patched source-code.

 

Linux-2.6.19.29-xen is another version of ...-xenU and ...-xen0 which is a "universal variant". The xenU and xen0 versions are "stripped down" to make them as small as possible, but you have TWO of them. The –xen version is a unified version which contains drivers and code for both DomU and Dom0 usage, and thus you can have ONE kernel to install everywhere. [Don't worry, the security of Dom0 and DomU is managed by the Xen hypervisor anyways - it's just a case of "if you know it's going to be DomU, don't put the code that it can't use in there" (and likewise for Dom0 not being able to use some code needed in DomU)].

 

The xen directory contains the hypervisor itself.

Xen 3.1

n       xen-unstable

n       buildconfigs: Makefiles

n       docs: Documentation

n       extras

n       mini-os: Minimal guest OS used for testing

n       linux-2.6-xen-sparse: Bare sources for dom0 and domU

n       patches: Patches for full Linux sources

n       tools: Large collection of tools to run on dom0

n       xen: Hypervisor sources

 

Xen-3.0.1 distribution

This release contains

the following top-level directories:

1. buildconfigs: Makefile rules.

2. docs: Documentation.

3. extras: Contains a subdirectory, mini-os, which is a minimal OS used for testing purposes.

4. linux-2.6-xen-sparse: Stripped-down Linux kernel distribution used for building basic dom0 and domU guest OS kernels. 看来是精简化的最小支持

5. patches: Full complement of patches for the Linux kernel source tree, presumably used for building fullfeatured guest OS kernels.

6. tools: Set of tools used for monitoring and controlling virtual machines.

7. xen: Source code for the Xen hypervisor itself, which is what we are currently attempting to port.

 

Xen 3.4以后

 

Xen 3.4 Source Code Overview

 

整体来看 pv guest的代码已经分离出去, 3.1linux-2.6-xen-sparse目录已经不在xen的包中,可参看http://hi.baidu.com/xupingyong008_li/blog/item/0df20928e58337345243c1f4.html

比如Linux针对xen的补丁见

 

最近 Dom 0 Dom U的主要部分已经进入mainline,搜索xen即可知。

阅读(2032) | 评论(0) | 转发(0) |
0

上一篇:2011新生选拔赛

下一篇:STL map 应用一例

给主人留下些什么吧!~~