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

Function vm_inject_fault

freebsd/amd64/vmm/vmm.c:2105–2118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2103}
2104
2105void
2106vm_inject_fault(void *vmarg, int vcpuid, int vector, int errcode_valid,
2107 int errcode)
2108{
2109 struct vm *vm;
2110 int error, restart_instruction;
2111
2112 vm = vmarg;
2113 restart_instruction = 1;
2114
2115 error = vm_inject_exception(vm, vcpuid, vector, errcode_valid,
2116 errcode, restart_instruction);
2117 KASSERT(error == 0, ("vm_inject_exception error %d", error));
2118}
2119
2120void
2121vm_inject_pf(void *vmarg, int vcpuid, int error_code, uint64_t cr2)

Callers 5

vm_inject_pfFunction · 0.85
vm_inject_udFunction · 0.85
vm_inject_gpFunction · 0.85
vm_inject_acFunction · 0.85
vm_inject_ssFunction · 0.85

Calls 1

vm_inject_exceptionFunction · 0.85

Tested by

no test coverage detected