Xen(Virtual Machine MonitorVMM)128Xen(paravirtualization) 2% 8% 20% x86Xen
Xen (http://wiki.xen.org/wiki/Xen_Overview)
1.1 Xen Hypervisor
Xen Hypervisor()CPUI/O
1.2 Dom0
Xen(domain)IDdomain 0domain 1dom0Dom0Xen HypervisorLinuxI/OI/Odom0DomU(Unprivileged Domain)DomUDom0I/ODomUDom0
Linux 2.6.37 Xen Dom03.0Xen3.0Dom0
Dom0(Network Backend Driver)(Block Backend Driver)DomUDomUDomU
Dom0(Toolstack)CloudstackOpenstack
1.3 DomU
DomUXenPV(Paravirtualization)HVM(Hardware-assisted or Full Virtualization)Xen HypervisorHVMPVPV on HVM
1.3.1 Xen(Xen Paravirtualization)
(ParavirtualizationPV)XenPVCPUXen-PV-enabledPV(guest)hypervisorLinuxNetBSDFreeBSDOpenSolarisXen-PV-enabled 2.6.24 LinuxLinux pvops frameworkXen-PVLinuxPV
PV(Network Frontend Driver)(Block Frontend Driver)Dom0
Xen PV (http://wiki.xen.org/wiki/File:XenPV.png)
1.3.2 Xen(Xen Full Virutalization)
(Hardware-assisted virtualizion)CPUHVMIntel VTAMD-VXenQemu来为HVMPCBIOSIDEVGAUSBCPUHVMwindowsHVMHVMPV
1.3.3 P V on HVM
HVM(PVHVMPV-on-HVM)HVMPVHVMI/OHVMPV
1.4 工具栈(toolstack)、API(Managment APIs)(Consoles)
XenLibvirtXAPIAPI
Xen Toolstack (http://wiki.xen.org/wiki/File:ToolStacks.png)
1.4.1 Libxenlight (libxl)
libxenlightCAPIxen
xenstorelibxenctrllibxenguest
1.4.2
Default / XEND
Xen 4.0Xen 4.1xlXend/xmXen 4.2xlxm
Default / XL
xllibxenlightXen 4.1xlXendhttp://wiki.xen.org/wiki/XL_vs_Xend_Feature_Comparison
XAPI / XE
XAPIXenAPI(The Xen management API)Citrix XenServerXCPlibxenlightXAPIXenCloudStackOpenNebulaOpenStackAPIXen
(http://www.slideshare.net/xen_com_mgr/xen-summit-amd2010v3)
libvirt / VIRSH
libvirtAPI1.0libxenlight
libvirt (http://blog.imm.cnr.it/content/collegamento-macchine-virtuali-con-libvirt)
1.4.3
(http://wiki.xen.org/wiki/Choice_of_Toolstacks)
1.4.4 Xen
XenXenvirt-manager/libvirtxen-toolsZentificConvirtXen OrchestraGanetiEucalyptusOpenNebulaopenQRM
http://wiki.xen.org/wiki/Xen_Management_Tools
1.5 XenStore
XenStoreDom0Dom0XenStoreXenStore
XenStoreDomUDom0UnixAPIioctl/proc/xen/xenbusXenStoreXenStoreXenStoreDom0/var/lib/xenstored/tdb
本文出自 “马哥Linux培训” 博客,转载请与作者联系!