/linux-6.1.9/arch/arm64/kvm/ |
D | trace_handle_exit.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 | 111 if (vcpu->guest_debug) in kvm_arm_setup_mdcr_el2() 122 if ((vcpu->guest_debug & KVM_GUESTDBG_USE_HW) || in kvm_arm_setup_mdcr_el2() 173 trace_kvm_arm_setup_debug(vcpu, vcpu->guest_debug); in kvm_arm_setup_debug() 178 if (vcpu->guest_debug || kvm_vcpu_os_lock_enabled(vcpu)) { in kvm_arm_setup_debug() 202 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_arm_setup_debug() 234 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arm_setup_debug() 266 BUG_ON(!vcpu->guest_debug && in kvm_arm_setup_debug() 282 trace_kvm_arm_clear_debug(vcpu->guest_debug); in kvm_arm_clear_debug() 287 if (vcpu->guest_debug || kvm_vcpu_os_lock_enabled(vcpu)) { in kvm_arm_clear_debug() 288 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_arm_clear_debug() [all …]
|
D | guest.c | 930 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 933 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arch_vcpu_ioctl_set_guest_debug() 939 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/linux-6.1.9/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 | 237 if (vcpu->guest_debug) { in kvmppc_vcpu_sync_debug() 867 if (vcpu->guest_debug == 0) { in kvmppc_handle_debug() 1036 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in kvmppc_handle_exit() 1130 if ((vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) && in kvmppc_handle_exit() 2032 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 2038 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 2041 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in kvm_arch_vcpu_ioctl_set_guest_debug() 2065 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_pr.c | 1062 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_setup_debug() 1071 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_clear_debug() 1413 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_handle_exit_pr()
|
D | book3s.c | 803 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_hv.c | 1823 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | kvm_host.h | 711 (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) 713 (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) 715 (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) 717 (vcpu->guest_debug & KVM_GUESTDBG_EXIT_PENDING))
|
/linux-6.1.9/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 | 4200 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 4213 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 4225 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/linux-6.1.9/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 425 vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP && in synchronize_vcpu_pstate()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 1001 if (!(svm->vcpu.guest_debug & KVM_GUESTDBG_SINGLESTEP)) { in disable_nmi_singlestep() 1886 if (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) { in svm_update_exception_bitmap() 1887 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in svm_update_exception_bitmap() 1982 if (!(vcpu->guest_debug & in db_interception() 1996 if (vcpu->guest_debug & in db_interception() 2640 if (vcpu->guest_debug == 0) { in dr_interception()
|
D | sev.c | 569 if (svm->vcpu.guest_debug || (svm->vmcb->save.dr7 & ~DR7_FIXED_1)) in sev_es_sync_vmsa()
|
/linux-6.1.9/arch/x86/kvm/ |
D | x86.c | 1316 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) { in kvm_update_dr0123() 1326 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in kvm_update_dr7() 1356 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in kvm_set_dr() 8632 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_vcpu_do_singlestep() 8708 if (unlikely(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) && in kvm_vcpu_check_code_breakpoint() 8969 if (r && (ctxt->tf || (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP))) in x86_emulate_instruction() 9988 if (vcpu->guest_debug & KVM_GUESTDBG_BLOCKIRQ) in kvm_check_and_inject_events() 10790 WARN_ON(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP); in vcpu_enter_guest() 11636 if (vcpu->guest_debug & KVM_GUESTDBG_BLOCKIRQ) { in kvm_arch_vcpu_guestdbg_update_apicv_inhibit() 11672 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() [all …]
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.c | 793 if ((vcpu->guest_debug & in vmx_update_exception_bitmap() 4984 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in rmode_exception() 4988 return !(vcpu->guest_debug & in rmode_exception() 5142 if (!(vcpu->guest_debug & in handle_exception_nmi() 5420 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) { in handle_dr() 5433 if (vcpu->guest_debug == 0) { in handle_dr() 7169 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in vmx_vcpu_run()
|
D | nested.c | 4591 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in nested_vmx_restore_host_state() 6107 vcpu->guest_debug & in nested_vmx_l0_wants_exit() 6111 vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in nested_vmx_l0_wants_exit()
|
/linux-6.1.9/include/linux/ |
D | kvm_host.h | 323 unsigned long guest_debug; member
|