Home
last modified time | relevance | path

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

/linux-6.1.9/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.c111 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 …]
Dguest.c930 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/
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.c237 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()
Dbook3s_pr.c1062 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()
Dbook3s.c803 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
Dbook3s_hv.c1823 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
/linux-6.1.9/arch/s390/include/asm/
Dkvm_host.h711 (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/
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.c4200 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/
Dswitch.h425 vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP && in synchronize_vcpu_pstate()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1001 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()
Dsev.c569 if (svm->vcpu.guest_debug || (svm->vmcb->save.dr7 & ~DR7_FIXED_1)) in sev_es_sync_vmsa()
/linux-6.1.9/arch/x86/kvm/
Dx86.c1316 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/
Dvmx.c793 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()
Dnested.c4591 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/
Dkvm_host.h323 unsigned long guest_debug; member