Ray Of Hope

virtual cpu

QEMU + VCPU architecture.

Whenever a new CPU is added to the QEMU, call flow goes like this. Realize the x86 Device : target-i386/cpu.c:x86_cpu_realizefn -> cpus.c:qemu_init_vcpu() and target-i386/cpu.c:x86_cpu_realizefn -> xcc->parent_Realizefn(). qemu_init_vcpu checks if the kvm is enabled and it calls cpus.c: qemu_kvm_start_vcpu() . qemu_kvm_start_vcpu allocates the memory for the thread, specify its halting condition and calls qemu_thread_create with the […]

Tags: ,

Posted in qemu | No Comments »