Keir Fraser wrote: > It's a misleading simplification. For example, the ondemand governor will > build and run in a dom0 kernel but it's not actually going to do the right > thing, as it doesn't observe whole-machine load. Here is the missing piece of the puzzle. A platform hypercall operation to get system wide idle time. I believe Mark's changes, together with this little patch, are the way we can get cpufreq working on Xen with the minimal amount of code duplication. Duplicating code anywhere, whether it be inside the hypervisor or in some Xen-only userland package, will only lead to bit rot and make Xen maintenance more painful. Signed-off-by: Rik van Riel -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic.