projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7638e
)
remove pending exception on vcpu reset.
author
Gleb Natapov
<gleb@redhat.com>
Wed, 6 Jan 2010 14:30:10 +0000
(16:30 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 11 Jan 2010 15:56:30 +0000
(09:56 -0600)
Without this qemu can even start on kvm modules with events support
since default value of exception_injected in zero and this is #DE
exception.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/kvm.c
patch
|
blob
|
history
diff --git
a/target-i386/kvm.c
b/target-i386/kvm.c
index
de79eb7
..
4084503
100644
(file)
--- a/
target-i386/kvm.c
+++ b/
target-i386/kvm.c
@@
-227,6
+227,7
@@
int kvm_arch_init_vcpu(CPUState *env)
void kvm_arch_reset_vcpu(CPUState *env)
{
+ env->exception_injected = -1;
env->interrupt_injected = -1;
env->nmi_injected = 0;
env->nmi_pending = 0;