Revision 0af691d7 kvm-all.c

b/kvm-all.c
593 593
    int ret;
594 594
    int i;
595 595

  
596
    if (smp_cpus > 1) {
597
        fprintf(stderr, "No SMP KVM support, use '-smp 1'\n");
598
        return -EINVAL;
599
    }
600

  
601 596
    s = qemu_mallocz(sizeof(KVMState));
602 597

  
603 598
#ifdef KVM_CAP_SET_GUEST_DEBUG
......
840 835
        }
841 836
#endif
842 837

  
838
        if (kvm_arch_process_irqchip_events(env)) {
839
            ret = 0;
840
            break;
841
        }
842

  
843 843
        if (env->kvm_vcpu_dirty) {
844 844
            kvm_arch_put_registers(env, KVM_PUT_RUNTIME_STATE);
845 845
            env->kvm_vcpu_dirty = 0;

Also available in: Unified diff