On Mon, 2008-09-29 at 11:46 -0700, Gerd Hoffmann wrote:Yep. And please note that this does allow either Xen/KVM to propose a new leaf and the rest of the hypervisor players can decide to export that leaf or return a zero value. I may have been unclear in my first attempt to this question, let me try again. If the frequency of tsc changes during migration, it should be the task of hypervisor to handle it. There could be multiple ways to solve that problem, either the hypervisor emulates the old frequency (by whatever way) or there are cpufreq drivers in the guest which detect changes in frequency, and ask the hypervisor for the new frequency. The interface still allows you to query the cpuid leaf and get the new frequency. right ? How does that matter, if we are able to standardize all this then, hypervisors which want to run a Linux guest should effectively play by the standards over here or else they would never work properly on Linux. What we are trying to do here is try to standardize things for Linux so that the Linux kernel implementation for Virtualization is that much more easier. If this goes well other closed source hypervisors too can effectively follow these standards. If the other closed source hypervisors define their own cpuid leafs they will still have to make Linux kernel side changes to make use of these new leafs. Which allows them to add to these pool of cpuid interface's too. Hmm, I am confused, from the patch i posted above, in native_calibrate_tsc + tsc_khz = hypervisor_tsc_freq(); + if (tsc_khz) + return tsc_khz; We do ignore zero values over here. Thanks for the pointer. This would fall in the exception too. Thanks, Alok --
| Mark Lord | 2.6.25-rc8: FTP transfer errors |
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to device for block/paride |
| Stephen Rothwell | Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| Linus Torvalds | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
