Revision c37cc7b0

b/vl.c
3876 3876
    for (; next_cpu != NULL; next_cpu = next_cpu->next_cpu) {
3877 3877
        CPUState *env = cur_cpu = next_cpu;
3878 3878

  
3879
        if (!vm_running)
3880
            break;
3881 3879
        if (timer_alarm_pending) {
3882 3880
            timer_alarm_pending = 0;
3883 3881
            break;
3884 3882
        }
3885 3883
        if (cpu_can_run(env))
3886 3884
            ret = qemu_cpu_exec(env);
3885
        else if (env->stop)
3886
            break;
3887

  
3887 3888
        if (ret == EXCP_DEBUG) {
3888 3889
            gdb_set_stop_cpu(env);
3889 3890
            debug_requested = 1;

Also available in: Unified diff