Professional Documents
Culture Documents
RESHMA SHEIK
PRIYA
Date: 30-Oct-2010
1
All about QEMU...
• As a fast machine emulator.
Emulator is a computer program or
device which imitates other computer program
or device.
2
Why go for EMULATORS..?
3
Why QEMU preferred…?
• FAST
-- Relies on binary coded dynamic translation.
• PORTABLE
-- Feature exclusive to Qemu.
-- Real concept of “PC on a USB stick”.
• DYNAMIC
-- Use of Just in time compiler.
-- Use of translation cache.
4
Usage of QEMU
5
QEMU Operating modes
6
QEMU for…
• CPU Emulator.
• Emulated Devices.
• Generic Devices
• Machine Descriptions.
• Debugger
• User Interface
7
How QEMU performs…
8
More into Dygen..
• Dynamic Generator.
• Build time tool for Qemu translation.
• For each microoperations it emits the C program
-- to copy these operations into the end of
translation buffer.
-- analyze the relocation records in object file.
• Dygens output is compiled and the result is linked
together with object code into QEMU executable.
9
Implémentation Détails
• Register Allocation
Fixed
• Condition Code Optimization
Done at translation time
To achieve good performance
• Memory management
Done by MMU
Use of Address translation Cache
• Exception Support 10
Conclusion
• Usable in every day work.
Emulation of Commercial x86 OSes as Windows.
PowerPC target is close to launch Mac OS.
Sparc begins to launch LINUX.
• Many targets on many hosts.
No other dynamic translator supports this mainly
because of their porting complexity.
• Compromise between performance and complexity.
11
Future Work
• Porting
For porting on Sparc, Alpha Qemu needs to be polished.
• Full system emulation
Is still on a developing stage.
• Performance
The software MMU performance can be increased.
• Debugging
Debuggers should be made more efficient by using cache
simulation and cycle counters. 12
Go for Qemu…
Available at
http://bellard.org/qemu
13
Reference…
14
THANK YOU
15
QUERIES??
16
THANK YOU
17