How to trace out Packer Codebase

Can anyone please give me a overview of “packer build” workflow through the code. More specifically was interested in getting to know about how does packer create’s qemu VM.

I know it is very open ended question so just need a starting point in the right direction.