summaryrefslogtreecommitdiffstats
path: root/target-ia64
diff options
context:
space:
mode:
authorXiantao Zhang <[email protected]>2008-11-10 22:17:23 +0800
committerAvi Kivity <[email protected]>2008-11-10 16:50:44 +0200
commit508a0cdfd55923dbeed87744c8c6fd4567aa4291 (patch)
treedda2ab5de054c25e07dca7c31e68dd8217569d7b /target-ia64
parent0e331ff4f6ac6c334a9911f520cd74b45165fd94 (diff)
downloadqemu-kvm-508a0cdfd55923dbeed87744c8c6fd4567aa4291.tar.gz
qemu-kvm-508a0cdfd55923dbeed87744c8c6fd4567aa4291.tar.bz2
qemu-kvm-508a0cdfd55923dbeed87744c8c6fd4567aa4291.zip
Use new interface kvm_init_vcpu for vcpu's initilization.
Also define kvm_arch_do_ioperm for ia64 arch. Signed-off-by: Xiantao Zhang <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'target-ia64')
-rw-r--r--target-ia64/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ia64/op_helper.c b/target-ia64/op_helper.c
index b5897f706..78b32f962 100644
--- a/target-ia64/op_helper.c
+++ b/target-ia64/op_helper.c
@@ -37,7 +37,7 @@ CPUState *cpu_ia64_init(const char *cpu_model)
cpu_reset(env);
if (kvm_enabled()) {
kvm_qemu_init_env(env);
- kvm_init_new_ap(env->cpu_index, env);
+ kvm_init_vcpu(env);
}
return env;
}