Searched refs:guest_debug (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/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 | 98 if (vcpu->guest_debug) in kvm_arm_setup_mdcr_el2() 108 if ((vcpu->guest_debug & KVM_GUESTDBG_USE_HW) || in kvm_arm_setup_mdcr_el2() 158 trace_kvm_arm_setup_debug(vcpu, vcpu->guest_debug); in kvm_arm_setup_debug() 163 if (vcpu->guest_debug) { in kvm_arm_setup_debug() 187 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_arm_setup_debug() 209 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arm_setup_debug() 228 BUG_ON(!vcpu->guest_debug && in kvm_arm_setup_debug() 244 trace_kvm_arm_clear_debug(vcpu->guest_debug); in kvm_arm_clear_debug() 246 if (vcpu->guest_debug) { in kvm_arm_clear_debug() 253 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arm_clear_debug()
|
D | guest.c | 898 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 901 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW) { in kvm_arch_vcpu_ioctl_set_guest_debug() 907 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/kernel/linux/linux-5.10/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 | 211 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() 1105 if ((vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) && in kvmppc_handle_exit() 2008 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 2014 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 2017 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in kvm_arch_vcpu_ioctl_set_guest_debug() 2041 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_pr.c | 1076 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_setup_debug() 1085 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_clear_debug() 1427 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvmppc_handle_exit_pr()
|
D | book3s.c | 773 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
D | book3s_hv.c | 1422 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | kvm_host.h | 695 (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) 697 (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) 699 (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) 701 (vcpu->guest_debug & KVM_GUESTDBG_EXIT_PENDING))
|
/kernel/linux/linux-5.10/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 | 3711 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() 3724 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 3736 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | svm.c | 790 if (!(svm->vcpu.guest_debug & KVM_GUESTDBG_SINGLESTEP)) { in disable_nmi_singlestep() 1748 if (vcpu->guest_debug & KVM_GUESTDBG_ENABLE) { in update_exception_bitmap() 1749 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in update_exception_bitmap() 1832 if (!(svm->vcpu.guest_debug & in db_interception() 1846 if (svm->vcpu.guest_debug & in db_interception() 2420 if (svm->vcpu.guest_debug == 0) { in dr_interception()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 1108 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) { in kvm_update_dr0123() 1119 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in kvm_update_dr7() 1146 if (!(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP)) in __kvm_set_dr() 7427 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { in kvm_vcpu_do_singlestep() 7463 if (unlikely(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) && in kvm_vcpu_check_code_breakpoint() 7712 if (r && (ctxt->tf || (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP))) in x86_emulate_instruction() 9287 WARN_ON(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP); in vcpu_enter_guest() 10027 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug() 10028 if (!(vcpu->guest_debug & KVM_GUESTDBG_ENABLE)) in kvm_arch_vcpu_ioctl_set_guest_debug() 10029 vcpu->guest_debug = 0; in kvm_arch_vcpu_ioctl_set_guest_debug() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmx.c | 884 if ((vcpu->guest_debug & in update_exception_bitmap() 4776 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in rmode_exception() 4780 return !(vcpu->guest_debug & in rmode_exception() 4942 if (!(vcpu->guest_debug & in handle_exception_nmi() 5218 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) { in handle_dr() 5231 if (vcpu->guest_debug == 0) { in handle_dr() 6863 if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) in vmx_vcpu_run()
|
D | nested.c | 4388 if (vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) in nested_vmx_restore_host_state() 5875 vcpu->guest_debug & in nested_vmx_l0_wants_exit() 5879 vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) in nested_vmx_l0_wants_exit()
|
/kernel/linux/linux-5.10/include/linux/ |
D | kvm_host.h | 274 unsigned long guest_debug; member
|