- 14
- 0
- 约 60页
- 2017-03-09 发布于上海
- 举报
Virtual Machine Monitors Current Technology And Future Trends虚拟机监控当前技术与未来趋势
Example: Disable Interrupts [1] If a guest OS tries to disable interrupts, the instruction is trapped by the VMM which makes a note that interrupts are disabled for that virtual machine If interrupts arrive for that machine, they are buffered at the VMM layer until the guest OS enables interrupts. Other interrupts are directed to VMs that have not disabled them. Direct Execution Not Always Possible Modern CPUs, esp. x86 architectures, have not been designed for virtualization. Example: POPF (pop CPU flags from stack) If executed in user mode, no trap – it’s just ignored by the hardware In this case, direct execution fails – Guest OS assumes flags have been popped, but they haven’t been because the VMM isn’t notified. Two Ways to Handle Non-virtualizable Instructions Paravitualization Xen, Denali Binary Translation VMware Both use the same basic approach: catch non-virtualizable instructions and emulate them in software at the VMM level. Paravirtualization Rewrite portions of the guest OS to replace non-virtualizable instructions with a trap the VMM, which emulates the instruction on behalf of the guest OS e.g., remove POPFs; substitute something else Paravirtualization affects the guest OS, but not applications that run on it – the API is unchanged Paravirtualization is also used sometimes to replace inefficient operations with more efficient ones. Binary Translation Instead of modifying the OS, detect these instructions at runtime. VMware’s approach: The DBT (dynamic binary translator) controls execution of kernel code - replaces non-virtualizable instructions with equivalent code that can be virtualized. Once translated, code is saved and used again if needed. Comparison Paravirtualization changes the source code of a guest OS; binary translation changes the binary code as it executes. Paravirtualization is more efficient, but requires modification to the guest OS Paravirtualization also allows more efficient interfaces, in some cases Binary translation is b
您可能关注的文档
- USING A THREE YEAR ROLLING DEVELOPMENT PLAN3YRDP TO LEAD采用一三年滚动发展规划3yrdp领导.ppt
- Using an Interactive JavaBased Environment to Facilitate使用交互式的基于java的环境来促进.ppt
- Using Cellular Automata and Influence Maps in Games利用元胞自动机及其在游戏中的影响.ppt
- Using Alice rferro用爱丽丝 rferro.ppt
- Using Chemistry in Medicine West Virginia University西弗吉尼亚大学医学化学.ppt
- Using Compression to Improve Chip Multiprocessor Performance利用压缩技术提高芯片多处理器性能.ppt
- Using Corpora to Teach Grammar Montclair State 使用语料库教语法蒙特克莱尔州立.ppt
- Using Color Well Georgia State University利用彩色乔治亚州立大学.ppt
- Using Data In the Classroom NASA在课堂上使用数据美国航空航天局.ppt
- Ushers syndrome An overview for professionals Working with引进人才工作综合征概述.ppt
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)