void qemu_init_vcpu(void *_env) { CPUState *env = _env; if (kvm_enabled()) kvm_start_vcpu(env); else tcg_init_vcpu(env); }
void qemu_init_vcpu(void *_env) { CPUState *env = _env; env->nr_cores = smp_cores; env->nr_threads = smp_threads; if (kvm_enabled()) kvm_start_vcpu(env); else tcg_init_vcpu(env); }