From: balrog Date: Sun, 3 Feb 2008 03:26:30 +0000 (+0000) Subject: NMI and INTR events injection should not be handled as software interrupts (Bernhard... X-Git-Tag: xen-3.3.0-rc1~408 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7241f532c3adbebfc8689b878aec3f244043d147;p=qemu-xen-4.3-testing.git 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 --- diff --git a/target-i386/helper.c b/target-i386/helper.c index b7fac8468..7306cbd3f 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -4126,7 +4126,7 @@ void helper_vmrun(target_ulong addr) case SVM_EVTINJ_TYPE_INTR: env->exception_index = vector; env->error_code = event_inj_err; - env->exception_is_int = 1; + env->exception_is_int = 0; env->exception_next_eip = -1; if (loglevel & CPU_LOG_TB_IN_ASM) fprintf(logfile, "INTR"); @@ -4134,7 +4134,7 @@ void helper_vmrun(target_ulong addr) case SVM_EVTINJ_TYPE_NMI: env->exception_index = vector; env->error_code = event_inj_err; - env->exception_is_int = 1; + env->exception_is_int = 0; env->exception_next_eip = EIP; if (loglevel & CPU_LOG_TB_IN_ASM) fprintf(logfile, "NMI");