libvirt/tests/virresctrldata
Martin Kletzander f3fd0664cf resctrl: Don't assume MBA availability in virResctrlAllocNewFromInfo
Weirdly, the existence of /sys/fs/resctrl/info/MB does not always mean
that MBA is available and used on the system.  Instead of assuming that
copy the values from the default (root) allocation.  This also makes it
nicer to use the proper values in case the system does not use
percentages or when the root allocation already limits the bandwidth.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-09-13 12:55:39 +02:00
..
resctrl-cdp.schemata tests: Add virresctrltest 2018-01-25 17:16:08 +01:00
resctrl-skx-twocaches.schemata tests: Clean up and modify some vircaps2xmldata 2018-01-25 17:16:08 +01:00
resctrl-skx.schemata tests: Add virresctrltest 2018-01-25 17:16:08 +01:00
resctrl.schemata resctrl: Don't assume MBA availability in virResctrlAllocNewFromInfo 2024-09-13 12:55:39 +02:00