Pavel Hrdina 1d9d9961ad vircgroup: enforce range limit for cpu.shares
Before the conversion to using systemd DBus API to set the cpu.shares
there was some magic conversion done by kernel which was documented in
virsh manpage as well. Now systemd errors out if the value is out of
range.

Since we enforce the range for other cpu cgroup attributes 'quota' and
'period' it makes sense to do the same for 'shares' as well.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-03-04 11:13:05 +01:00
..
2021-02-03 16:09:25 +01:00
2021-02-03 16:09:25 +01:00
2020-07-09 10:01:41 +02:00
2021-03-02 09:50:19 +01:00
2021-03-02 09:50:19 +01:00
2021-03-02 09:50:19 +01:00
2020-10-06 12:31:34 +02:00
2020-02-24 23:15:49 +01:00
2021-03-02 09:50:19 +01:00
2020-02-24 17:25:07 +00:00
2021-03-01 15:54:42 +01:00
2020-08-03 15:30:40 +02:00
2021-03-01 15:54:42 +01:00
2021-01-25 20:27:38 -05:00
2021-03-02 09:50:19 +01:00
2019-10-16 12:06:44 +02:00
2020-03-05 12:23:02 +00:00
2020-10-06 12:31:34 +02:00
2021-03-02 09:50:19 +01:00
2019-10-16 12:06:44 +02:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00