X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_handler.c;h=93a366e28fda69150b1baca28ff6e7ee0f87a687;hb=bc2a0bcb7f0f3947a463d731ca0e6087806e605b;hp=b9d124f6126e1c636aadf36143fc1bc841384bcd;hpb=c502aac6baf363d633aca6ec883b05476634e854;p=palacios.git diff --git a/palacios/src/palacios/svm_handler.c b/palacios/src/palacios/svm_handler.c index b9d124f..93a366e 100644 --- a/palacios/src/palacios/svm_handler.c +++ b/palacios/src/palacios/svm_handler.c @@ -232,10 +232,12 @@ int handle_svm_exit(struct guest_info * info) { if (info->intr_state.excp_error_code) { guest_ctrl->EVENTINJ.error_code = info->intr_state.excp_error_code; guest_ctrl->EVENTINJ.ev = 1; + PrintDebug("Injecting error code %x\n", guest_ctrl->EVENTINJ.error_code); } guest_ctrl->EVENTINJ.vector = excp; + guest_ctrl->EVENTINJ.valid = 1; PrintDebug("Injecting Interrupt %d (EIP=%x)\n", guest_ctrl->EVENTINJ.vector, info->rip); injecting_intr(info, excp, EXCEPTION); break;