]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
vmstatus: correctly set numver of used cpus
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 30 Oct 2015 09:01:12 +0000 (10:01 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 30 Oct 2015 09:01:12 +0000 (10:01 +0100)
commit9db5687de3c640241174a5fc8e3f7b5b6656ad5c
tree2d5d93c165ff3c2af423fcb10d2759f4611ad6a4
parent0b39ec4a3628bdc2b47312d4a43cdf378e283a6d
vmstatus: correctly set numver of used cpus

return the number of host cpus if cpulimit is 0. This also avoid a
division by zero error.
src/PVE/LXC.pm