XEN V3.0 for X86技术手册(1)

XEN V3.0 for X86技术手册

杭州电子科技大学网格与服务计算实验室   周峰

第一章   介绍

   XEN 不但允许一台机器的硬件资源被虚拟化而且允许机器硬件资源能被动态的划分,允许多个不同的客户操作系统的镜像同时的进行运行。虚拟化的机器在这种工作方式下提供给用户相当多的灵活性,比方说 允许不同的使用者可以选择他们首选的操作系统.(例如:LinuxNETBSD,或者是自己定制的操作系统)。此外,Xen 在不同的虚拟机之间提供了安全隔离的措施,(也就是我们知道的Domains的概念)使它们能够更好的利用资源而且可以达到像独立的的操作系统那样的服务质量。

   XEN 本质上来说是一台完整的机器,虚拟化接近先驱IBM出的VM/370XEN不像以前的VM/370,或者新近的VMwareandVirtuan PCXEN 并不是试图完全的虚拟化底层的硬件,而是修改了部分的客户机的操作系统使之来配合VMM的工作。这个操作系统与新的目标架构间有完善的接口,它需要改变和调整自己的依赖性的代码来适应VMM.对于用户级别的API是不会被改变的,所以二进制发行的操作系统将不会被修改。(注:在搬虚拟化环境里,windows是不能被XEN虚拟出来的,不过目前出现了VT技术,因此支持了全虚拟化).另外对于CPU,内存,网络和磁盘设备的虚拟实例,XEN提供了一种外露的控制接口去管理这些在每一个dimains共享的资源。我们访问这个控制的接口是被受限的:它只能在特权级别的VM中访问,比方说我们所知道的dimain0Domain是基于任何xen服务和运行所必须的部分。任何所运行的应用程序都被这个平台所管理。在domain0中我们可以清楚的用管理程序运行控制软件,允许Xen framework 对不同的系统采用不同的硬件和管理方针。

下面是第一章的原文:

    Xen allows the hardware resources of a machine to be virtualized and dynamically partitioned, allowing multiple different guest operating system images to be run simultaneously. Virtualizing the machine in this manner provides considerable flexibility, for example allowing different users to choose their preferred operating system(e.g., Linux, NetBSD, or a custom operating system). Furthermore, Xen provides secure partitioning between virtual machines (known as domains in  Xen terminology),and enables better resource accounting and QoS isolation than can be achieved with a conventional operating system.
   Xen essentially takes a ‘whole machine’ virtualization approach as pioneered by IBM
VM/370. However,unlike VM/370 or more recent efforts suchas VMwareandVirtuan PC, Xen does not attempt to completely virtualize the underlying hardware. Instead parts of the hosted guest operating systems are modified to work with the VMM; the operating system is effectively ported to a new target architecture, typically requiring changes injust the machine-dependent code. The user-level API is unchanged, and so existing binaries and operating system distributions work without modification.
In addition to exporting virtualized instances of CPU, memory, network and block devices, Xen exposes a control interface to manage how these resources are shared between the running domains. Access to the control interface is restricted: it may only be used by one specially-privileged VM, known as domain 0. This domain is a required part of any Xen-based server and runs the application software that manages the control-plane aspects of the platform. Running the control software in domain 0,
distinct from the hypervisor itself, allows the Xen framework to separate the notions of mechanism and policy within the system.

PS:由于目前在实验室弄的是XEN虚拟机相关的,因此决定翻译一下这份技术手册,也算为开源事业做出自己的一份共享。英语翻的不好,请不要板砖拍我。

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值