aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2011-11-28 13:37:17 +0100
committerJuergen Gross <juergen.gross@ts.fujitsu.com>2011-11-28 13:37:17 +0100
commitd166bd34e8ecacf136d3ad661a985502d3af4620 (patch)
tree0d2cd8e62bc0deff17f0e89720f67d0411daba51 /tools/libxl/xl_cmdtable.c
parent5f3713211c904c11bece84fdd360fba215874383 (diff)
downloadxen-d166bd34e8ecacf136d3ad661a985502d3af4620.tar.gz
xen-d166bd34e8ecacf136d3ad661a985502d3af4620.tar.bz2
xen-d166bd34e8ecacf136d3ad661a985502d3af4620.zip
Support of xl sched-sedf
Supports the xl subcommand sched-sedf. The man page is only a minimal version (copy from xm man page without examples). BTW: the xm man page seems not to be in sync with xm sched-sedf -h regarding the time units. I used milliseconds in the xl implementation. Only minimal semantical checks of parameters. Signed-off-by: juergen.gross@ts.fujitsu.com Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index 12502a5c6a..3ad2b1bc89 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -206,6 +206,22 @@ struct cmd_spec cmd_table[] = {
"-w WEIGHT, --weight=WEIGHT Weight (int)\n"
"-p CPUPOOL, --cpupool=CPUPOOL Restrict output to CPUPOOL"
},
+ { "sched-sedf",
+ &main_sched_sedf, 0,
+ "Get/set sedf scheduler parameters",
+ "[options]",
+ "-d DOMAIN, --domain=DOMAIN Domain to modify\n"
+ "-p MS, --period=MS Relative deadline(ms)\n"
+ "-s MS, --slice=MS Worst-case execution time(ms).\n"
+ " (slice < period)\n"
+ "-l MS, --latency=MS Scaled period (ms) when domain\n"
+ " performs heavy I/O\n"
+ "-e FLAG, --extra=FLAG Flag (0 or 1) controls if domain\n"
+ " can run in extra time\n"
+ "-w FLOAT, --weight=FLOAT CPU Period/slice (do not set with\n"
+ " --period/--slice)\n"
+ "-c CPUPOOL, --cpupool=CPUPOOL Restrict output to CPUPOOL"
+ },
{ "domid",
&main_domid, 0,
"Convert a domain name to domain id",