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

Function vcpu_state2str

freebsd/amd64/vmm/vmm.c:273–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271
272#ifdef KTR
273static const char *
274vcpu_state2str(enum vcpu_state state)
275{
276
277 switch (state) {
278 case VCPU_IDLE:
279 return ("idle");
280 case VCPU_FROZEN:
281 return ("frozen");
282 case VCPU_RUNNING:
283 return ("running");
284 case VCPU_SLEEPING:
285 return ("sleeping");
286 default:
287 return ("unknown");
288 }
289}
290#endif
291
292static void

Callers 1

vcpu_set_state_lockedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected