]> git.proxmox.com Git - pve-container.git/commitdiff
config: cpuunits: drop description for outdated special value
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 7 Oct 2022 12:41:41 +0000 (14:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 Nov 2022 13:51:28 +0000 (14:51 +0100)
It won't work on hosts using cgroup v2. And there's one place where
$conf->{cpuunits} || 1024 is used, so zero would be overwritten there.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/LXC/Config.pm

index d1fdd50250808a89c823fd6e3f1880749a9ebd57..2bdc9d850f72a103b74c8af4334ea06bc46054f5 100644 (file)
@@ -507,7 +507,7 @@ my $confdesc = {
     cpuunits => {
        optional => 1,
        type => 'integer',
-       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.\n\nNOTE: You can disable fair-scheduler configuration by setting this to 0.",
+       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,