免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1447 | 回复: 0
打印 上一主题 下一主题

Demystifying Xen HVM [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-22 15:04 |只看该作者 |倒序浏览

   
Demystifying Xen HVM
   
   
Xen HVM uses the AMD SVM (Pacifica) and
Intel VTX
(Vanderpool) hardware CPU virtualization.
Both
Parallels
and
VMWare
now utilize the same VTX technologies in their products. Based on blogs
I have read, VMWare added VTX support somewhere around or just before
VMWare Workstation 5.5, and Parallels has supported Core-Duo Intel Macs
since their beginning. No, I don't know if either supports AMD's SVM
quite yet.
Aside from these products, I am currently unaware of anything else that use today's modern CPU SVM or VTX features.
VMWare Workstation and Server normally runs alongside a host OS,
inserting a "vmmon" driver into Ring0. VMWare ESX has its own
hypervisor, much like Xen, though you do need to embrace RedHat for
their management harness. Hardware is emulated virtually in software
(IDE, SCSI via Buslogic/LSI, Network via Pcnet32/VMX, etc). Guest OSes
talk to these drivers as if they were running on a physical machine.
Xen is a small hypervisor that "paravirtualizes" CPU scheduling and
assigns hardware resources to virtual "domains". The first domain,
dom0, is responsible for talking to your PC's hardware directly. Each
"guest" domain, or domU, can only talk directly to hardware if it has
been configured to allow such access. Typically, a domU only has
"frontend" drivers that talk to resources exposed by a "backend"
typically from dom0. Things like virtual block devices and virtual
network interfaces are handled by native Xen aware device drivers in
such paravirtualized domUs.
Xen can also run in HVM mode. This means that instead of
paravirtualized devices, a real set of virtual hardware is exposed to
the domU to use real device drivers to talk to. Much like VMWare.
Xen initially called the HVM subsystem "VMX", but quickly abstracted
it when SVM support was added. If you see mention of VMX in Xen mailing
list archives, related that to the newer HVM layer.
HVM hardware is emulated via a patched
QEMU
"device manager" (qemu-dm)
daemon running as a backend in dom0. There is no SCSI emulation, only
PIIX3 IDE (with some rudimentary PIIX4 capabilities), Cirrus Logic or
vanilla VGA emulated video, RTL8139 or NE2000 network emulation, PAE,
and somewhat limited ACPI and APIC support. Basically the same devices
available in QEMU 0.8.2 today (with a number of patches for
performance, etc).
For our initial deployment, we are testing a number of AMDX2 capable
motherborards. Only the AM2 and F socket based dies appear to offer SVM.
My next post will detail the conversion process for migrating VMWare images to HVM.
   
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8059/showart_1806979.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP