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

Function vcpu_require_state_locked

freebsd/amd64/vmm/vmm.c:1257–1264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255}
1256
1257static void
1258vcpu_require_state_locked(struct vm *vm, int vcpuid, enum vcpu_state newstate)
1259{
1260 int error;
1261
1262 if ((error = vcpu_set_state_locked(vm, vcpuid, newstate, false)) != 0)
1263 panic("Error %d setting state to %d", error, newstate);
1264}
1265
1266#define RENDEZVOUS_CTR0(vm, vcpuid, fmt) \
1267 do { \

Callers 2

vm_handle_hltFunction · 0.85
vm_handle_suspendFunction · 0.85

Calls 2

vcpu_set_state_lockedFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected