Revision 0af691d7 target-i386/kvm.c

b/target-i386/kvm.c
1073 1073
    return 0;
1074 1074
}
1075 1075

  
1076
int kvm_arch_process_irqchip_events(CPUState *env)
1077
{
1078
    if (env->interrupt_request & CPU_INTERRUPT_INIT) {
1079
        kvm_cpu_synchronize_state(env);
1080
        do_cpu_init(env);
1081
        env->exception_index = EXCP_HALTED;
1082
    }
1083

  
1084
    if (env->interrupt_request & CPU_INTERRUPT_SIPI) {
1085
        kvm_cpu_synchronize_state(env);
1086
        do_cpu_sipi(env);
1087
    }
1088

  
1089
    return env->halted;
1090
}
1091

  
1076 1092
static int kvm_handle_halt(CPUState *env)
1077 1093
{
1078 1094
    if (!((env->interrupt_request & CPU_INTERRUPT_HARD) &&

Also available in: Unified diff