QEMU - Code Flow [ Instruction cache and TCG]

Dexter picture Dexter · Dec 19, 2013 · Viewed 9.2k times · Source

I am trying to analyze the QEMU source code.

I know its huge and till date there is no official documentation for it.

My main areas of concern are the Instruction cache management and TCG operation.

Any pointers to them would be helpful ?

Answer

VividD picture VividD · Jan 8, 2014

I know full answer would be much longer, but for start I just want to bring to your attention this diagram: (now, it would be useful for you to play with gdb running QEMU, set breakpoints in functions you see in the diagram, follow code execution, etc.)

qemu source code flow design implementation diagram