aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2011-08-05 12:10:55 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2011-08-05 12:10:55 -0300
commitac363c9042eb1010b88af0a202c09475ef909972 (patch)
tree797009e207dbd64e557199d58579b15d248b24e6
parente7429073ed1a765180158622463e8e0fb1b296d7 (diff)
Remove #ifdef KVM_CAP_TSC_CONTROL
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--target-i386/kvm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 923d2d511d..31b88b7499 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -504,7 +504,6 @@ int kvm_arch_init_vcpu(CPUState *env)
if (r)
return r;
-#ifdef KVM_CAP_TSC_CONTROL
r = kvm_check_extension(env->kvm_state, KVM_CAP_TSC_CONTROL);
if (r && env->tsc_khz) {
r = kvm_vcpu_ioctl(env, KVM_SET_TSC_KHZ, env->tsc_khz);
@@ -513,7 +512,6 @@ int kvm_arch_init_vcpu(CPUState *env)
return r;
}
}
-#endif
return 0;
}