Revision 51e8fa60 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
978 979
        case KVM_EXIT_DEBUG:
979 980
            DPRINTF("kvm_exit_debug\n");
980
#ifdef KVM_CAP_SET_GUEST_DEBUG
981 981
            if (kvm_arch_debug(&run->debug.arch)) {
982 982
                ret = EXCP_DEBUG;
983 983
                goto out;
984 984
            }
985 985
            /* re-enter, this exception was guest-internal */
986 986
            ret = 1;
987
#endif /* KVM_CAP_SET_GUEST_DEBUG */
988 987
            break;
988
#endif /* KVM_CAP_SET_GUEST_DEBUG */
989 989
        default:
990 990
            DPRINTF("kvm_arch_handle_exit\n");
991 991
            ret = kvm_arch_handle_exit(env, run);

Also available in: Unified diff