to reflect that it depends on the cgroup version.

Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---

In qemu-server, it's already like this.

 src/PVE/LXC/Config.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 48e0a6e..b32eff6 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -507,7 +507,7 @@ my $confdesc = {
        description => "CPU weight for a VM. Argument is used in the kernel 
fair scheduler. The larger the number is, the more CPU time this VM gets. 
Number is relative to the weights of all the other running VMs.",
        minimum => 0,
        maximum => 500000,
-       default => 1024,
+       default => 'cgroup v1: 1024, cgroup v2: 100',
     },
     memory => {
        optional => 1,
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to