Revision f2574737 kvm-all.c
b/kvm-all.c | ||
---|---|---|
975 | 975 |
ret = kvm_handle_internal_error(env, run); |
976 | 976 |
break; |
977 | 977 |
#endif |
978 |
#ifdef KVM_CAP_SET_GUEST_DEBUG |
|
979 |
case KVM_EXIT_DEBUG: |
|
980 |
DPRINTF("kvm_exit_debug\n"); |
|
981 |
if (kvm_arch_debug(&run->debug.arch)) { |
|
982 |
ret = EXCP_DEBUG; |
|
983 |
break; |
|
984 |
} |
|
985 |
/* re-enter, this exception was guest-internal */ |
|
986 |
ret = 0; |
|
987 |
break; |
|
988 |
#endif /* KVM_CAP_SET_GUEST_DEBUG */ |
|
989 | 978 |
default: |
990 | 979 |
DPRINTF("kvm_arch_handle_exit\n"); |
991 | 980 |
ret = kvm_arch_handle_exit(env, run); |
Also available in: Unified diff