QEMU is a type-2 hypervisor for machine emulation and virtualization. Unlike its proprietary competitors like VirtualBox or VMWare, its virtualization capability can reach to emulating hardware processor types. QEMU has 2 modes:
The source codes are available at: https://git.qemu.org/?p=qemu.git
Supplement QEMU's specifications. This is written in a "first-timer" beginner way since QEMU only interface is by terminal commands, which is a great strength as well.