]> git.proxmox.com Git - qemu-server.git/commit
api: create/update vm: fix clamping cpuunits function calls
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 21 Nov 2022 07:25:13 +0000 (08:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 07:27:03 +0000 (08:27 +0100)
commit8481721f220de78d6e0a658aed1448a9345ac00f
treee976c95f094ec268eaa0cec74ed93f7826503569
parent28768fc317ee4bbe91f8d3beb3e9856724e0259d
api: create/update vm: fix clamping cpuunits function calls

When applying the series introducing those calls, the helper was moved
to pve-common's CGroup.pm (see 07c10d5 ("cgroup: move get_cpuunits
helper from qemu-server as clamp_cpu_shares") in pve-common) instead
of pve-guest-common's GuestHelpers.pm. But these calls were not
updated.

Reported in the community forum:
https://forum.proxmox.com/threads/118267

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm