Revision 3f7638ec vl.c

b/vl.c
3484 3484
{
3485 3485
    CPUState *env = _env;
3486 3486

  
3487
    if (kvm_enabled())
3488
        kvm_init_vcpu(env);
3489 3487
    env->nr_cores = smp_cores;
3490 3488
    env->nr_threads = smp_threads;
3489
    if (kvm_enabled())
3490
        kvm_init_vcpu(env);
3491 3491
    return;
3492 3492
}
3493 3493

  
......
3813 3813
{
3814 3814
    CPUState *env = _env;
3815 3815

  
3816
    env->nr_cores = smp_cores;
3817
    env->nr_threads = smp_threads;
3816 3818
    if (kvm_enabled())
3817 3819
        kvm_start_vcpu(env);
3818 3820
    else
3819 3821
        tcg_init_vcpu(env);
3820
    env->nr_cores = smp_cores;
3821
    env->nr_threads = smp_threads;
3822 3822
}
3823 3823

  
3824 3824
void qemu_notify_event(void)

Also available in: Unified diff