summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-10-19 11:29:25 -0200
committerMarcelo Tosatti <mtosatti@redhat.com>2009-10-20 14:35:36 -0200
commit1440f73422af2beaffb9463a0321c970fb77e993 (patch)
treeec9d43c551f927f483aaabdbb8ad606acfa84cc1 /qemu-kvm.c
parentuse upstream version of kvm_arch_post_run (diff)
downloadqemu-kvm-1440f73422af2beaffb9463a0321c970fb77e993.tar.gz
qemu-kvm-1440f73422af2beaffb9463a0321c970fb77e993.tar.bz2
qemu-kvm-1440f73422af2beaffb9463a0321c970fb77e993.zip
move tpr stuff to qemu-kvm-x86.c
this whole tpr thing does not belong in common code. Move it to i386 specific files. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm.c')
-rw-r--r--qemu-kvm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c
index cc91194a9..aff87e9f0 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -1907,9 +1907,6 @@ static void *ap_main_loop(void *_env)
cpu_single_env = env;
kvm_arch_init_vcpu(env);
-#ifdef TARGET_I386
- kvm_tpr_vcpu_start(env);
-#endif
kvm_arch_load_regs(env);
@@ -1965,9 +1962,6 @@ int kvm_init_ap(void)
{
struct sigaction action;
-#ifdef TARGET_I386
- kvm_tpr_opt_setup();
-#endif
qemu_add_vm_change_state_handler(kvm_vm_state_change_handler, NULL);
signal(SIG_IPI, sig_ipi_handler);