Re: kvm: external module: do not hardcode tsc_khz

2009-03-24 Thread Avi Kivity
Marcelo Tosatti wrote: external module compat hard codes tsc_khz as 200 if KERNEL_VERSION < (2,6,23). This breaks kvmclock on hosts with different frequency. While tsc_khz was only exported on 2.6.23, the majority of relevant older v2.6 based distros seem to have it exported. Applied,

kvm: external module: do not hardcode tsc_khz

2009-03-23 Thread Marcelo Tosatti
external module compat hard codes tsc_khz as 200 if KERNEL_VERSION < (2,6,23). This breaks kvmclock on hosts with different frequency. While tsc_khz was only exported on 2.6.23, the majority of relevant older v2.6 based distros seem to have it exported. Signed-off-by: Marcelo Tosatti diff