Lines Matching +defs:exit +defs:code

506 	vmh.vmh_cpuids[0].code = 0x00;
509 vmh.vmh_cpuids[1].code = 0x01;
512 vmh.vmh_cpuids[2].code = 0x07;
515 vmh.vmh_cpuids[3].code = 0x0d;
518 vmh.vmh_cpuids[4].code = 0x80000001;
524 CPUID_LEAF(vmh.vmh_cpuids[i].code,
546 * vrp: vcpu run parameters containing guest state for this exit
587 * Handle a vcpu exit. This function is called when it is determined that
589 * exit type (eg, accessing an I/O port or device). Guest state is contained
590 * in 'vrp', and will be resent to vmm(4) on exit completion.
592 * Upon conclusion of handling the exit, the function determines if any
597 * vrp: vcpu run parameters containing guest state for this exit
600 * 0: the exit was handled successfully
601 * 1: an error occurred (eg, unknown exit reason passed in 'vrp')
618 * at the same time the last exit type may have been one of
643 log_debug("%s: unknown exit reason 0x%x",
656 * vrp: vcpu run parameters containing guest state for this exit
742 * vrp: vcpu run parameters containing guest state for this exit
1026 * Utility function for manipulating register data in vm exit info structs. This
1031 * vei: exit information
1055 * Utility function for manipulating register data in vm exit info
1061 * vei: exit information
1099 * exit: The VCPU this translation should be performed for (guest MMU settings
1115 translate_gva(struct vm_exit* exit, uint64_t va, uint64_t* pa, int mode)
1122 vrs = &exit->vrs;
1189 if ((exit->cpl > 0) && !(pte & PG_u))
1246 unsigned int code, leaf;
1260 code = vmh->vmh_cpuids[i].code;
1263 log_debug("%s: invalid leaf 0x%x for code 0x%x",
1264 __func__, leaf, code);
1268 switch (code) {
1270 CPUID_LEAF(code, leaf, a, b, c, d);
1286 CPUID_LEAF(code, leaf, a, b, c, d);
1290 "code: 0x%x leaf: 0x%x reg: c", __func__,
1291 code, leaf);
1297 "code: 0x%x leaf: 0x%x reg: d", __func__,
1298 code, leaf);
1304 CPUID_LEAF(code, leaf, a, b, c, d);
1308 "code: 0x%x leaf: 0x%x reg: c", __func__,
1309 code, leaf);
1315 "code: 0x%x leaf: 0x%x reg: d", __func__,
1316 code, leaf);
1322 CPUID_LEAF(code, leaf, a, b, c, d);
1338 CPUID_LEAF(code, leaf, a, b, c, d);
1342 "code: 0x%x leaf: 0x%x reg: a", __func__,
1343 code, leaf);
1349 "code: 0x%x leaf: 0x%x reg: c", __func__,
1350 code, leaf);
1356 "code: 0x%x leaf: 0x%x reg: d", __func__,
1357 code, leaf);
1363 log_debug("%s: unknown code 0x%x", __func__, code);