Here https://github.com/qemu/qemu/blob/stable-4.2/cpus.c#L1290 lies a very important piece of Qemu. I guess it\'s the event loop for a CPU on KVM.
Here\'s the code: