]> xenbits.xensource.com Git - xen.git/commit
xen: credit2: allow to set and get utilization cap
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 26 Sep 2017 09:48:46 +0000 (10:48 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 26 Sep 2017 09:48:46 +0000 (10:48 +0100)
commit688170248634810f436745d774aadf2471668969
treed8aece48d9f7dcded6017a95870cac6d8e51b703
parent8a4b37c38c4be14a21556455fba9a0be5c0fe36b
xen: credit2: allow to set and get utilization cap

As cap is already present in Credit1, as a parameter, all
the wiring is there already for it to be percolate down
to csched2_dom_cntl() too.

In this commit, we actually deal with it, and implement
setting, changing or disabling the cap of a domain.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit2.c
xen/include/public/domctl.h