[libvirt] [PATCH 1/2] Get cpuMhz of virNodeGetInfo() from cpufreq/cpuinfo_max_freq, if exist

Eric Blake eblake at redhat.com
Mon Feb 14 16:17:45 UTC 2011


On 02/13/2011 06:08 PM, Minoru Usui wrote:
>> So with rounding up request and truncating reports we are on the safe
>> side in both cases.
>>
>> Matthias
> 
> I agree with you.
> In this case we are reporting cpu MHz, so we should truncate it.
> 
> Eric, what do you think?

Truncation works for me.  I think these patches have missed the cutoff
for 0.8.8, though, so I haven't looked closely at them yet.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110214/a43e49a5/attachment-0001.sig>


More information about the libvir-list mailing list