]> xenbits.xensource.com Git - libvirt.git/commit
vircgroup: fix cpu quota maximum limit
authorPavel Hrdina <phrdina@redhat.com>
Wed, 25 Nov 2020 11:41:16 +0000 (12:41 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 1 Dec 2020 11:41:36 +0000 (12:41 +0100)
commited1ba69f5a8132f8c1e73d2a1f142d70de0b564a
tree8d27ff19d0aa8c7ef14cecc3d059a7b5ff283cd8
parent98a09ca48ed4fc011abf2aa290e02ce1b8f1bb5f
vircgroup: fix cpu quota maximum limit

Kernel commit <d505b8af58912ae1e1a211fabc9995b19bd40828> added proper
check for cpu quota maximum limit to prevent internal overflow.

Even though this change is not present in all kernels it makes sense
to enforce the same limit in libvirt.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1750315

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/util/vircgroup.h