mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 08:17:53 -06:00
NMI and INTR events injection should not be handled as software interrupts (Bernhard Kauer).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3952 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3aa3eea310
commit
7241f532c3
1 changed files with 2 additions and 2 deletions
|
@ -4126,7 +4126,7 @@ void helper_vmrun(target_ulong addr)
|
||||||
case SVM_EVTINJ_TYPE_INTR:
|
case SVM_EVTINJ_TYPE_INTR:
|
||||||
env->exception_index = vector;
|
env->exception_index = vector;
|
||||||
env->error_code = event_inj_err;
|
env->error_code = event_inj_err;
|
||||||
env->exception_is_int = 1;
|
env->exception_is_int = 0;
|
||||||
env->exception_next_eip = -1;
|
env->exception_next_eip = -1;
|
||||||
if (loglevel & CPU_LOG_TB_IN_ASM)
|
if (loglevel & CPU_LOG_TB_IN_ASM)
|
||||||
fprintf(logfile, "INTR");
|
fprintf(logfile, "INTR");
|
||||||
|
@ -4134,7 +4134,7 @@ void helper_vmrun(target_ulong addr)
|
||||||
case SVM_EVTINJ_TYPE_NMI:
|
case SVM_EVTINJ_TYPE_NMI:
|
||||||
env->exception_index = vector;
|
env->exception_index = vector;
|
||||||
env->error_code = event_inj_err;
|
env->error_code = event_inj_err;
|
||||||
env->exception_is_int = 1;
|
env->exception_is_int = 0;
|
||||||
env->exception_next_eip = EIP;
|
env->exception_next_eip = EIP;
|
||||||
if (loglevel & CPU_LOG_TB_IN_ASM)
|
if (loglevel & CPU_LOG_TB_IN_ASM)
|
||||||
fprintf(logfile, "NMI");
|
fprintf(logfile, "NMI");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue