Re: [patch 1/8] Infrastructure for software and hardware based TSC rate scaling

2012-02-08 Thread Joerg Roedel
On Fri, Feb 03, 2012 at 03:43:50PM -0200, Marcelo Tosatti wrote: + if (user_tsc_khz tsc_khz) { + vcpu-arch.tsc_catchup = 1; + vcpu-arch.tsc_always_catchup = 1; + } else + WARN(1, user requested TSC rate below

[patch 1/8] Infrastructure for software and hardware based TSC rate scaling

2012-02-03 Thread Marcelo Tosatti
From: Zachary Amsden zams...@gmail.com This requires some restructuring; rather than use 'virtual_tsc_khz' to indicate whether hardware rate scaling is in effect, we consider each VCPU to always have a virtual TSC rate. Instead, there is new logic above the vendor-specific hardware scaling that