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

Function vcpu_require_state

freebsd/amd64/vmm/vmm.c:1248–1255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1246}
1247
1248static void
1249vcpu_require_state(struct vm *vm, int vcpuid, enum vcpu_state newstate)
1250{
1251 int error;
1252
1253 if ((error = vcpu_set_state(vm, vcpuid, newstate, false)) != 0)
1254 panic("Error %d setting state to %d\n", error, newstate);
1255}
1256
1257static void
1258vcpu_require_state_locked(struct vm *vm, int vcpuid, enum vcpu_state newstate)

Callers 1

vm_runFunction · 0.85

Calls 2

vcpu_set_stateFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected