|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] remove pending exception on vcpu reset. |
Date: | Mon, 11 Jan 2010 10:01:47 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 01/06/2010 08:30 AM, Gleb Natapov wrote:
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<address@hidden>
Applied. Thanks. Regards, Anthony Liguori
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index de79eb7..4084503 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; -- Gleb.
[Prev in Thread] | Current Thread | [Next in Thread] |