Lines Matching full:intercept

90 #define AMD_CPUID_SVM_PAUSE_INC		BIT(10) /* Pause intercept filter. */
423 KASSERT(idx >=0 && idx < 5, ("invalid intercept index %d", idx)); in svm_get_intercept()
426 return (ctrl->intercept[idx] & bitmask ? 1 : 0); in svm_get_intercept()
435 KASSERT(idx >=0 && idx < 5, ("invalid intercept index %d", idx)); in svm_set_intercept()
438 oldval = ctrl->intercept[idx]; in svm_set_intercept()
441 ctrl->intercept[idx] |= bitmask; in svm_set_intercept()
443 ctrl->intercept[idx] &= ~bitmask; in svm_set_intercept()
445 if (ctrl->intercept[idx] != oldval) { in svm_set_intercept()
447 SVM_CTR3(vcpu, "intercept[%d] modified from %#x to %#x", idx, in svm_set_intercept()
448 oldval, ctrl->intercept[idx]); in svm_set_intercept()
486 * Intercept accesses to the control registers that are not shadowed in vmcb_init()
498 * Intercept everything when tracing guest exceptions otherwise in vmcb_init()
499 * just intercept machine check exception. in vmcb_init()
515 /* Intercept various events (for e.g. I/O, MSR and CPUID accesses) */ in vmcb_init()
532 * Intercept SVM instructions since AMD enables them in guests otherwise. in vmcb_init()
548 * the VMRUN intercept bit must be set to pass the consistency check. in vmcb_init()
610 * Intercept read and write accesses to all MSRs. in svm_init()
635 * Intercept writes to make sure that the EFER_SVM bit is not cleared. in svm_init()
639 /* Intercept access to all I/O ports. */ in svm_init()
828 * Handle guest I/O intercept.
1055 ("%s: vintr intercept should be enabled", __func__)); in enable_intr_window_exiting()
1076 ("%s: vintr intercept should be disabled", __func__)); in disable_intr_window_exiting()
1115 * executes an IRET. The IRET intercept is enabled when an NMI is injected to
1144 * When the IRET intercept is cleared the vcpu will attempt to execute in clear_nmi_blocking()
1400 * Restart execution at "iret" but with the intercept cleared. in svm_vmexit()
1907 * We use V_IRQ in conjunction with the VINTR intercept to in svm_inj_interrupts()
1911 * Since injected events are not subject to intercept checks in svm_inj_interrupts()