diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-08 19:21:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-13 13:12:40 +0200 |
commit | e0723c451028102d9165e21424b4833376ce9666 (patch) | |
tree | 6d611cd5155bd9904552d58f43c65a5b953fcecc /target-i386/helper.c | |
parent | 50a2c6e55fa2ce5a2916a2c206bad2c6b0e06df1 (diff) |
kvm: forward INIT signals coming from the chipset
Reviewed-by: Gleb Natapov <gnatapov@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 372f0e3ecb..27b35826e9 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -19,6 +19,7 @@ #include "cpu.h" #include "sysemu/kvm.h" +#include "kvm_i386.h" #ifndef CONFIG_USER_ONLY #include "sysemu/sysemu.h" #include "monitor/monitor.h" @@ -1335,6 +1336,9 @@ void do_cpu_init(X86CPU *cpu) cpu_reset(cs); cs->interrupt_request = sipi; env->pat = pat; + if (kvm_enabled()) { + kvm_arch_do_init_vcpu(cpu); + } apic_init_reset(cpu->apic_state); } |