MCPcopy Create free account
hub / github.com/F-Stack/f-stack / enable_nmi_blocking

Function enable_nmi_blocking

freebsd/amd64/vmm/amd/svm.c:1104–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102}
1103
1104static void
1105enable_nmi_blocking(struct svm_softc *sc, int vcpu)
1106{
1107
1108 KASSERT(!nmi_blocked(sc, vcpu), ("vNMI already blocked"));
1109 VCPU_CTR0(sc->vm, vcpu, "vNMI blocking enabled");
1110 svm_enable_intercept(sc, vcpu, VMCB_CTRL1_INTCPT, VMCB_INTCPT_IRET);
1111}
1112
1113static void
1114clear_nmi_blocking(struct svm_softc *sc, int vcpu)

Callers 1

svm_inj_interruptsFunction · 0.85

Calls 2

nmi_blockedFunction · 0.85
svm_enable_interceptFunction · 0.85

Tested by

no test coverage detected