Version 1.0.8.
[virt-top.git] / ChangeLog
index fbbe9b1..8daca45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,110 @@
+2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
+
+       Version 1.0.8.
+
+2012-10-12  Hu Tao  <hutao@cn.fujitsu.com>
+
+       show `vcpu usages' by `virt-top -1'
+       Before this patch, `virt-top -1' shows total cpu usages
+       which euqal to `vcpu usages' + `hypervisor usages'. This
+       patch adds another column for domains showing `vcpu
+       usages'. An example is:
+
+       PHYCPU %CPU example_domain
+          0   10.4 10.4  0.8
+          1    1.6  1.6  1.4
+          2    2.6  2.6  2.6
+          3    0.0  0.0  0.1
+
+       RWMJ: I cleaned up this patch a little, but it should be
+       functionally the same.
+
+       Rename find_usages_from_stats as find_cpu_usages.
+       This is just code motion.
+
+2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
+
+       OCaml stable dependencies.
+
+       Remove D.get_cpu_stats second parameter.
+       In upstream ocaml-libvirt, this second parameter has been removed,
+       because it was found that nr_pcpus can be found by calling the libvirt
+       API directly.
+
+2012-09-28  Richard W.M. Jones  <rjones@redhat.com>
+
+       Make the main code and exception handling simpler.
+
+       Better error messages when parsing the init file (RHBZ#836231).
+
+       Add missing sort order options in --help output (RHBZ#807176).
+
+       Man page: Add an explanation of columns (RHBZ#834208).
+
+       man page: Update copyright date.
+
+2012-03-06  Richard W.M. Jones  <rjones@redhat.com>
+
+       Version 1.0.7.
+
+       Ignore aclocal.m4.
+
+       Document requirements in README file.
+
+2012-03-06  Lai Jiangshan  <laijs@cn.fujitsu.com>
+
+       virt-top: correct "virt-top -1" command via cpuacct cgroup
+       Old "virt-top -1" is not correct, its output is generated by guess:
+       use average usage for pinned physical CPUs.
+
+       example(old "virt-top -1"):
+
+       PHYCPU %CPU rhel6  Windows
+          0    0.6  0.1=   0.5=
+          1    0.6  0.1=   0.5=#
+          2    0.6  0.1=   0.5=
+          3    0.6  0.1=#  0.5=
+
+       The output almost makes no sense(all the value are just average, not real).
+
+       This is new implement, it use cpuacct cgroup to gain *real* physical usages
+       via cpuacct cgroup by virDomainGetCPUStats() API.
+
+       new result:
+
+       PHYCPU %CPU rhel6  Windows
+          0    1.3  0.3     1.0
+          1    2.3  0.3     2.0
+          2    2.2  0.5     1.7
+          3    2.5  0.4     2.1
+
+       PHYCPU %CPU rhel6  Windows
+          0    1.7  0.4     1.3
+          1    3.6  1.0     2.7
+          2    1.6  0.4     1.2
+          3    4.8  3.1     1.7
+
+       Note: average flag(=) is dropped, there is not average value in here.
+       Note: running flag(#) is dropped, because if the value is not empty,
+             it means the guest was once running in the physical CPU in this period
+             between updates.
+
+       Changed from V3:
+               use new virDomainGetCPUStats() libvirt-API.
+               add a new function find_usages_from_stats() to gain cpu usages.
+
+2011-08-15  Richard W.M. Jones  <rjones@redhat.com>
+
+       Ensure manpages get built when using native compiler (thanks Laurent LĂ©onard).
+
 2011-08-12  Richard W.M. Jones  <rjones@redhat.com>
 
+       Version 1.0.6.
+
+       Update MANIFEST and fix 'make dist'.
+       make dist now copies the generated manual pages into the tarball, so
+       that we don't have to keep these generated files in git.
+
        Fix ordering of csv_mode and stream_mode in tuple.
        Note that this bug could have been avoided by using a struct instead
        of a tuple here.