Searched refs:guest_debug (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.4/arch/arm64/kvm/ |
D | trace.h | 50 TP_PROTO(struct kvm_vcpu *vcpu, __u32 guest_debug), 51 TP_ARGS(vcpu, guest_debug), 55 __field(__u32, guest_debug) 60 __entry->guest_debug = guest_debug; 63 TP_printk("vcpu: %p, flags: 0x%08x", __entry->vcpu, __entry->guest_debug) 67 TP_PROTO(__u32 guest_debug), 68 TP_ARGS(guest_debug), 71 __field(__u32, guest_debug) 75 __entry->guest_debug = guest_debug; 78 TP_printk("flags: 0x%08x", __entry->guest_debug) [all …]
|
D | debug.c | 106 trace_kvm_arm_setup_debug(vcpu, vcpu->guest_debug); in kvm_arm_setup_debug() 120 if (vcpu->guest_debug) { in kvm_arm_setup_debug() 147 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_arm_setup_debug() 169 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arm_setup_debug() 189 BUG_ON(!vcpu->guest_debug && in kvm_arm_setup_debug() 206 trace_kvm_arm_clear_debug(vcpu->guest_debug); in kvm_arm_clear_debug() 208 if (vcpu->guest_debug) { in kvm_arm_clear_debug() 215 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arm_clear_debug()
|
D | guest.c | 833 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 836 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arch_vcpu_ioctl_set_guest_debug() 842 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | booke_emulate.c | 149 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 160 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 172 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 183 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 195 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 206 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 217 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 232 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 243 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() 254 if (vcpu->guest_debug) in kvmppc_booke_emulate_mtspr() [all …]
|
D | booke.c | 212 if (vcpu->guest_debug) { in kvmppc_vcpu_sync_debug() 842 if (vcpu->guest_debug == 0) { in kvmppc_handle_debug() 1011 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in kvmppc_handle_exit() 1091 if ((vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) && in kvmppc_handle_exit() 2025 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 2031 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 2034 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in kvm_arch_vcpu_ioctl_set_guest_debug() 2058 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_pr.c | 1040 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_setup_debug() 1049 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_clear_debug() 1392 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_handle_exit_pr()
|
D | book3s.c | 806 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_hv.c | 1386 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | kvm_host.h | 622 (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) 624 (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) 626 (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) 628 (vcpu->guest_debug & KVM_GUESTDBG_EXIT_PENDING))
|
/Linux-v5.4/arch/s390/kvm/ |
D | guestdbg.c | 374 vcpu->guest_debug &= ~KVM_GUESTDBG_EXIT_PENDING; in kvm_s390_prepare_debug_exit() 519 vcpu->guest_debug |= KVM_GUESTDBG_EXIT_PENDING; in kvm_s390_handle_per_ifetch_icpt() 592 vcpu->guest_debug |= KVM_GUESTDBG_EXIT_PENDING; in kvm_s390_handle_per_event()
|
D | kvm-s390.c | 3408 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 3421 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 3433 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/Linux-v5.4/arch/x86/kvm/ |
D | x86.c | 1018 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) { in kvm_update_dr0123() 1027 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in kvm_update_dr6() 1035 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in kvm_update_dr7() 1059 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in __kvm_set_dr() 1102 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in kvm_get_dr() 6515 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_vcpu_do_singlestep() 6551 if (unlikely(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) && in kvm_vcpu_check_breakpoint() 8188 WARN_ON(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP); in vcpu_enter_guest() 8894 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 8895 if (!(vcpu->guest_debug & KVM_GUESTDBG_ENABLE)) in kvm_arch_vcpu_ioctl_set_guest_debug() [all …]
|
D | svm.c | 1170 if (!(svm->vcpu.guest_debug & KVM_GUESTDBG_SINGLESTEP)) { in disable_nmi_singlestep() 2644 if (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) { in update_bp_intercept() 2645 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in update_bp_intercept() 2648 vcpu->guest_debug = 0; in update_bp_intercept() 2729 if (!(svm->vcpu.guest_debug & in db_interception() 2742 if (svm->vcpu.guest_debug & in db_interception() 4059 if (svm->vcpu.guest_debug == 0) { in dr_interception()
|
/Linux-v5.4/arch/x86/kvm/vmx/ |
D | vmx.c | 788 if ((vcpu->guest_debug & in update_exception_bitmap() 4531 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in rmode_exception() 4535 if (vcpu->guest_debug & in rmode_exception() 4675 if (!(vcpu->guest_debug & in handle_exception_nmi() 4914 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) { in handle_dr() 4929 if (vcpu->guest_debug == 0) { in handle_dr() 6539 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in vmx_vcpu_run()
|
D | nested.c | 3967 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in nested_vmx_restore_host_state() 5361 vcpu->guest_debug & in nested_vmx_exit_reflected() 5365 vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in nested_vmx_exit_reflected()
|
/Linux-v5.4/include/linux/ |
D | kvm_host.h | 273 unsigned long guest_debug; member
|