Hvmloader

Tags: XEN   Virtualization  

In the HVM case the "PV kernel" is actually hvmloader and isn't PV at all, the job of hvmloader is to load all the necessary information that qemu will use to build the necessary environment that will "fool" an unmodified guest that he is in fact on a physical machine. In summary hvmloader pretty much just fills data-structures as follows:

 

leon Published by 2014-01-19 08:23

Detail »

xen 4.x 网桥设置

Tags: XEN   Virtualization  

在xen4.1之前,通过设置/etc/xen/xend-config.sxp中的(network-script network-bridge)可以让xend来自动设置网桥。但是xen4.1之后不建议这么做:

When using the xl toolstack the host networking configuration is not configured by the toolstack but rather administrators are required to setup an appropriate network configuration using the tools provided by their host distribution.

leon Published by 2014-01-03 11:49

Detail »

xm create创建DomU源码分析

Tags: XEN   Virtualization  

Domian 0 上运行配置相关的配置文件,运行下面命令: xm create example。进入Domain U 的创建过程;

代码级别分析开始:

首先对xm命令进行分析,找到xen/tools/python/xen/xm/main.py函数:

Src:http://hi.baidu.com/juacm/blog/item/fc4932423b2b78136b63e5b2.html

leon Published by 2014-01-03 07:55

Detail »

xm vs xl

Tags: XEN   Virtualization  

用过Xen的几乎都知道xm/xend这一套工具,但是最近社区中都是在讨论xl这个工具,特别是对老用户,可能有些疑惑,我们使用Xen之时,到底是XL还是XM作为工具。

我接触Xen也一年多了,每天工作都和Xen打交道,而且经常在Xen开源社区中交流,所以这里我总结一下我的认识,给对xl这个新工具有疑惑的同学答疑一下吧。

leon Published by 2013-12-03 07:51

Detail »

What is STUBDOM ?

Tags: XEN   Virtualization  

Stubdoms are lightweight 'service' or 'driver' domains. The initial purpose was to offload qemu (for hvm guests) out of dom0. So with stubdoms you can run hvm guest qemu in a separate stubdom, which boosts performance and makes it more secure. stubdoms can also run for example pv-grub for pv guests, making it more secure compared to pygrub, which always runs in dom0.

leon Published by 2013-12-03 07:49

Detail »