aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-04-16 15:23:45 +0300
committerAvi Kivity <avi@qumranet.com>2008-04-16 16:43:26 +0300
commit2c783229c552a5f10f5799a546c908171c38248a (patch)
treedeee7dafb75e9e1c93000c424b342acd9c5e686f /target-ia64
parentMerge branch 'qemu-cvs' (diff)
downloadqemu-kvm-2c783229c552a5f10f5799a546c908171c38248a.tar.gz
qemu-kvm-2c783229c552a5f10f5799a546c908171c38248a.tar.bz2
qemu-kvm-2c783229c552a5f10f5799a546c908171c38248a.zip
Spin up vcpu threads before attempting to set lapic contents
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'target-ia64')
-rw-r--r--target-ia64/op_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ia64/op_helper.c b/target-ia64/op_helper.c
index 8660b17db..5dfa6fa0e 100644
--- a/target-ia64/op_helper.c
+++ b/target-ia64/op_helper.c
@@ -36,6 +36,7 @@ CPUState *cpu_ia64_init(char *cpu_model){
if (kvm_enabled()) {
kvm_qemu_init_env(env);
env->ready_for_interrupt_injection = 1;
+ kvm_init_new_ap(env->cpu_index, env);
}
return env;
}