Home
last modified time | relevance | path

Searched refs:guest_debug (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/
Dtrace_handle_exit.h50 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 …]
Ddebug.c98 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()
Dguest.c898 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/
Dbooke_emulate.c149 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 …]
Dbooke.c211 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()
Dbook3s_pr.c1076 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()
Dbook3s.c773 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
Dbook3s_hv.c1422 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkvm_host.h695 (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/
Dguestdbg.c374 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()
Dkvm-s390.c3711 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/
Dsvm.c790 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/
Dx86.c1108 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/
Dvmx.c884 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()
Dnested.c4388 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/
Dkvm_host.h274 unsigned long guest_debug; member