Revision 4513d923 target-i386/kvm.c

b/target-i386/kvm.c
1289 1289
    }
1290 1290
}
1291 1291
#endif /* KVM_CAP_SET_GUEST_DEBUG */
1292

  
1293
bool kvm_arch_stop_on_emulation_error(CPUState *env)
1294
{
1295
      return !(env->cr[0] & CR0_PE_MASK) ||
1296
              ((env->segs[R_CS].selector  & 3) != 3);
1297
}
1298

  

Also available in: Unified diff