Upload
august-hall
View
226
Download
5
Tags:
Embed Size (px)
Citation preview
Binary Translation
VMWare Software Virtualization
Source Inst Stream (binary)
IR1IR2
.
.IRn
Translation Units (TU)
IR1IR2
.
.IRn
Target Inst Stream (binary)
Compiled Code Fragment (CCF)
Dynamic Binary Translator
5
Binary Translation
QEMU Binary Translation in brief
Source Inst Stream (binary)
Micro-operations
implemented in C
Object file
Target Inst Stream (binary)
dyngen
6
Quick EMUlation (QEMU)
Machine Emulator
Virtualizer
QEMU modes:
User-mode emulation – Allows a process built for one CPU to be
executed on another.
System-mode emulation – Allows emulation of a full system,
including processor and assorted peripherals.
7
References
• A comparison of software and hardware techniques for x86 virtualization – Keith Adams, Ole Agesen, ASPLOS’06
• Understanding Full Virtualization, Paravirtualization and Hardware Assist – VMware Whitepaper
• QEMU, a fast and portable Dynamic Translator – Fabrice Bellard• QEMU Wiki: wiki.qemu.org
8