guest_ctrl->EVENTINJ.valid = 1;
-
-
#ifdef CONFIG_DEBUG_INTERRUPTS
PrintDebug("<%d> Injecting Exception %d (CR2=%p) (EIP=%p)\n",
(int)info->num_exits,
#endif
v3_injecting_excp(info, excp);
-
-
} else if (info->intr_state.irq_started == 1) {
#ifdef CONFIG_DEBUG_INTERRUPTS
PrintDebug("IRQ pending from previous injection\n");
v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc);
-#ifdef CONFIG_SYMBIOTIC
- if (info->sym_state.sym_call_active == 0) {
- update_irq_state_atomic(info);
- }
-#else
- update_irq_state_atomic(info);
-#endif
// Save Guest state from VMCB
info->rip = guest_state->rip;
exit_info2 = guest_ctrl->exit_info2;
+#ifdef CONFIG_SYMBIOTIC
+ if (info->sym_state.sym_call_active == 0) {
+ update_irq_state_atomic(info);
+ }
+#else
+ update_irq_state_atomic(info);
+#endif
+
+
// reenable global interrupts after vm exit
v3_stgi();