aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xenctrl.h
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2012-02-23 10:17:50 +0000
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2012-02-23 10:17:50 +0000
commit83421b2079dfb2702df99727216635177689312a (patch)
treed1d637fb97d05d9218a02e9eca64d3ff5d9dc577 /tools/libxc/xenctrl.h
parent3ffbb6bf35abbf33b04e98a04123ab6b2c9fd4b8 (diff)
downloadxen-83421b2079dfb2702df99727216635177689312a.tar.gz
xen-83421b2079dfb2702df99727216635177689312a.tar.bz2
xen-83421b2079dfb2702df99727216635177689312a.zip
libxc: Implement SCHEDOP sysctl for credit scheduler
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r--tools/libxc/xenctrl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h
index 73d24e53d0..841c110a17 100644
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -668,7 +668,12 @@ int xc_sched_credit_domain_set(xc_interface *xch,
int xc_sched_credit_domain_get(xc_interface *xch,
uint32_t domid,
struct xen_domctl_sched_credit *sdom);
-
+int xc_sched_credit_params_set(xc_interface *xch,
+ uint32_t cpupool_id,
+ struct xen_sysctl_credit_schedule *schedule);
+int xc_sched_credit_params_get(xc_interface *xch,
+ uint32_t cpupool_id,
+ struct xen_sysctl_credit_schedule *schedule);
int xc_sched_credit2_domain_set(xc_interface *xch,
uint32_t domid,
struct xen_domctl_sched_credit2 *sdom);