diff options
-rw-r--r-- | target-i386/kvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index de79eb7607..408450361a 100644 --- 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; |