aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2011-11-28 13:27:15 +0100
committerJuergen Gross <juergen.gross@ts.fujitsu.com>2011-11-28 13:27:15 +0100
commit31c2ace79d3181edcbaa4f4fe52e9f248969e0f4 (patch)
treef83aae7c477a2ec65ca0cce776612de1588fc446 /tools/libxl/xl_cmdtable.c
parent25097df0171e7c4312e5c3233ef66bec4677b7f0 (diff)
downloadxen-31c2ace79d3181edcbaa4f4fe52e9f248969e0f4.tar.gz
xen-31c2ace79d3181edcbaa4f4fe52e9f248969e0f4.tar.bz2
xen-31c2ace79d3181edcbaa4f4fe52e9f248969e0f4.zip
Support cpupools in xl sched-credit
Adds cpupool awareness to output of xl sched-credit. Output can now be restricted to a specific cpupool. The domains are printed for each cpupool seperately. The loop over cpupools and domains is seperated from the main command implementation to be able to support other schedulers as well. 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index 5690d710c1..1cceb300fe 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -192,10 +192,11 @@ struct cmd_spec cmd_table[] = {
{ "sched-credit",
&main_sched_credit, 0,
"Get/set credit scheduler parameters",
- "[-d <Domain> [-w[=WEIGHT]|-c[=CAP]]]",
+ "[-d <Domain> [-w[=WEIGHT]|-c[=CAP]]] [-p CPUPOOL]",
"-d DOMAIN, --domain=DOMAIN Domain to modify\n"
"-w WEIGHT, --weight=WEIGHT Weight (int)\n"
- "-c CAP, --cap=CAP Cap (int)"
+ "-c CAP, --cap=CAP Cap (int)\n"
+ "-p CPUPOOL, --cpupool=CPUPOOL Restrict output to CPUPOOL"
},
{ "domid",
&main_domid, 0,