vzlist: fix cpuunits rounding

As pointed out by the bug reporter:

	we have a similar bug to #3063 with the CPU units value:

	[root@neko ~]# vzctl set 190 --cpuuunits 9
	[root@neko ~]# cat /proc/vz/fairsched/190/cpu.shares
	9
	[root@neko ~]# vzlist -Ho cpuunits 190
	8

The fix is the same as in commit c1baf6c41e1 -- use floating point
and round the result.

https://bugzilla.openvz.org/3120

Reported-by: Kevin Holly <root@hallowe.lt>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed