Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
152
static void
153
svm_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
rdmsr
Function · 0.50
wrmsr
Function · 0.50
Tested by
no test coverage detected