Revision a2eebe88

b/kvm-all.c
935 935
static void on_vcpu(CPUState *env, void (*func)(void *data), void *data)
936 936
{
937 937
#ifdef CONFIG_IOTHREAD
938
    if (env == cpu_single_env) {
939
        func(data);
940
        return;
938
    if (env != cpu_single_env) {
939
        abort();
941 940
    }
942
    abort();
943
#else
944
    func(data);
945 941
#endif
942
    func(data);
946 943
}
947 944

  
948 945
struct kvm_sw_breakpoint *kvm_find_sw_breakpoint(CPUState *env,

Also available in: Unified diff