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

Function svm_disable

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

Source from the content-addressed store, hash-verified

150}
151
152static void
153svm_disable(void *arg __unused)
154{
155 uint64_t efer;
156
157 efer = rdmsr(MSR_EFER);
158 efer &= ~EFER_SVM;
159 wrmsr(MSR_EFER, efer);
160}
161
162/*
163 * Disable SVM on all CPUs.

Callers

nothing calls this directly

Calls 2

rdmsrFunction · 0.50
wrmsrFunction · 0.50

Tested by

no test coverage detected