* [Qemu-devel] [PATCH] fix SVM event injection
@ 2008-01-23 22:42 Bernhard Kauer
0 siblings, 0 replies; only message in thread
From: Bernhard Kauer @ 2008-01-23 22:42 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
The SVM event injection mechanism for NMI and INTRs should not
be handled as software interrupts.
Bernhard Kauer
[-- Attachment #2: qemu_eventinj.diff --]
[-- Type: text/x-diff, Size: 914 bytes --]
Index: target-i386/helper.c
--- target-i386/helper.c 24 Dec 2007 13:36:00 -0000 1.98
+++ target-i386/helper.c 23 Jan 2008 22:37:49 -0000
@@ -4124,7 +4193,7 @@
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");
@@ -4132,7 +4201,7 @@
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");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-23 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 22:42 [Qemu-devel] [PATCH] fix SVM event injection Bernhard Kauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).