Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kvm/
Dtrace.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.c106 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()
Dguest.c833 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/
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.c212 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()
Dbook3s_pr.c1040 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()
Dbook3s.c806 vcpu->guest_debug = dbg->control; in kvm_arch_vcpu_ioctl_set_guest_debug()
Dbook3s_hv.c1386 if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP) { in kvmppc_handle_exit_hv()
/Linux-v5.4/arch/s390/include/asm/
Dkvm_host.h622 (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/
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.c3408 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/
Dx86.c1018 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 …]
Dsvm.c1170 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/
Dvmx.c788 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()
Dnested.c3967 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/
Dkvm_host.h273 unsigned long guest_debug; member