]> xenbits.xensource.com Git - xen.git/commit
xl: show full value of cpu_khz in xl info output
authorOlaf Hering <olaf@aepfle.de>
Tue, 3 Apr 2018 11:14:11 +0000 (13:14 +0200)
committerWei Liu <wei.liu2@citrix.com>
Fri, 18 May 2018 16:23:56 +0000 (17:23 +0100)
commite0414f4223bd9b7ce9d07c9f26dd129a79c6d4cc
tree65d519f2be232f048a69f5f4667a50255dc4ed66
parentec41c60660cb3a3bbe6c0249c0a721d21a9ade32
xl: show full value of cpu_khz in xl info output

The exact value of cpu_khz can only be obtained via 'xl dmesg', and
therefore can be lost after some time. 'xl info' truncates the value to
full MHz. Adjust the output to show the full khz value.
This helps the host admin to track how a host has calibrated itself. The
value of cpu_khz is used during live migration for the decision if
access to TSC should be emualted.

Commit eb5277a30e ("bitkeeper revision 1.959.1.4
(40d04a87acOb29u-5Y5OxMhHvP2x9g)" gives no hint why cpu_mhz instead of
cpu_khz was chosen.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/xl/xl_info.c