info->rip = guest_state->rip;
info->vm_regs.rsp = guest_state->rsp;
info->vm_regs.rax = guest_state->rax;
- info->vm_regs.rsp = guest_state->rsp;
-
-
-
-
+ info->vm_regs.rsp = guest_state->rsp;
exit_code = guest_ctrl->exit_code;
-
+
// PrintDebugVMCB((vmcb_t*)(info->vmm_data));
-
if (exit_code == VMEXIT_IOIO) {
struct svm_io_info * io_info = (struct svm_io_info *)&(guest_ctrl->exit_info1);
break;
case EXCEPTION:
guest_ctrl->EVENTINJ.type = SVM_INJECTION_EXCEPTION;
- guest_ctrl->EVENTINJ.excp_error_code = info->intr_state.excp_error_code;
+ guest_ctrl->EVENTINJ.error_code = info->intr_state.excp_error_code;
break;
case SOFTWARE:
guest_ctrl->EVENTINJ.type = SVM_INJECTION_SOFT_INTR;