cpuMhz of virNodeGetInfo() should return maximum cpu frequency.
(See.
http://fossplanet.com/f13/%5Blibvirt%5D-%5Brfd%5D-add-modify-some-api-fun...)
virNodeGetInfo() gets it from "cpu MHz" of /proc/cpuinfo,
but this value is scaled by cpu power saving feature.
This patch gets from
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq, if exist.
And if this file doesn't exist, it gets from /proc/cpuinfo.
--
Minoru Usui <usui(a)mxm.nes.nec.co.jp>