Updated patch which includes virsh update to not output
unsupported CPU stat fields.
For example, Linux output:
user: 1.0%
system: 1.0%
idle: 98.0%
iowait: 0.0%
usage: 2.0%
Includes iowait, doesn't have intr.
FreeBSD output:
user: 0,8%
system: 0,9%
idle: 97,5%
intr: 0,8%
usage: 2,5%
Includes intr, doesn't have iowait.
Roman Bogorodskiy (2):
BSD: implement nodeGetCPUStats
virsh: report only filled values in 'nodecpustats'
include/libvirt/libvirt.h.in | 8 +++
src/nodeinfo.c | 104 +++++++++++++++++++++++++++++++++++++++
tools/virsh-host.c | 113 +++++++++++++++++++++++++++----------------
3 files changed, 184 insertions(+), 41 deletions(-)
--
1.8.4.3