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

Function vcpu_is_running

freebsd/amd64/include/vmm.h:357–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355enum vcpu_state vcpu_get_state(struct vm *vm, int vcpu, int *hostcpu);
356
357static int __inline
358vcpu_is_running(struct vm *vm, int vcpu, int *hostcpu)
359{
360 return (vcpu_get_state(vm, vcpu, hostcpu) == VCPU_RUNNING);
361}
362
363#ifdef _SYS_PROC_H_
364static int __inline

Callers 8

svm_vmcx_snapshotFunction · 0.85
vmx_getregFunction · 0.85
vmx_setregFunction · 0.85
vmx_getdescFunction · 0.85
vmx_setdescFunction · 0.85
vmx_set_tmrFunction · 0.85
vmx_vmcx_snapshotFunction · 0.85
vmx_restore_tscFunction · 0.85

Calls 1

vcpu_get_stateFunction · 0.85

Tested by

no test coverage detected