This patch series enhances scheduler support of xl. Patch 1: xl sched-credit: support long options Patch 2: Support cpupools in xl sched-credit Patch 3: Support of xl sched-credit2 Patch 4: Correct error message in libxl_sched_credit_domain_get() Patch 5: Support of xl sched-sedf Changes since v1: - trim code lines to <80 characters 7 files changed, 641 insertions(+), 38 deletions(-) docs/man/xl.pod.1 | 90 ++++++++- tools/libxl/libxl.c | 108 ++++++++++ tools/libxl/libxl.h | 8 tools/libxl/libxl_types.idl | 13 + tools/libxl/xl.h | 2 tools/libxl/xl_cmdimpl.c | 429 +++++++++++++++++++++++++++++++++++++++---- tools/libxl/xl_cmdtable.c | 29 ++
The help text of xl sched-credit supported long options. Neither the man page nor the implementation did. Signed-off-by: juergen.gross@ts.fujitsu.com 2 files changed, 26 insertions(+), 7 deletions(-) docs/man/xl.pod.1 | 15 ++++++++++----- tools/libxl/xl_cmdimpl.c | 18 ++++++++++++++++-- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 5 files changed, 101 insertions(+), 30 deletions(-) docs/man/xl.pod.1 | 4 + tools/libxl/libxl.c | 1 tools/libxl/libxl_types.idl | 1 tools/libxl/xl_cmdimpl.c | 120 ++++++++++++++++++++++++++++++++----------- tools/libxl/xl_cmdtable.c | 5 + _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Supports the xl subcommand sched-credit2. Signed-off-by: juergen.gross@ts.fujitsu.com 7 files changed, 220 insertions(+) docs/man/xl.pod.1 | 29 ++++++++++ tools/libxl/libxl.c | 53 ++++++++++++++++++ tools/libxl/libxl.h | 4 + tools/libxl/libxl_types.idl | 4 + tools/libxl/xl.h | 1 tools/libxl/xl_cmdimpl.c | 121 +++++++++++++++++++++++++++++++++++++++++++ tools/libxl/xl_cmdtable.c | 8 ++ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Juergen Gross
2011-Nov-28 12:46 UTC
[PATCH 4 of 5] Correct error message in libxl_sched_credit_domain_get()
Just a typo... Signed-off-by: juergen.gross@ts.fujitsu.com 1 file changed, 1 insertion(+), 1 deletion(-) tools/libxl/libxl.c | 2 +- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 7 files changed, 293 insertions(+) docs/man/xl.pod.1 | 42 ++++++++++ tools/libxl/libxl.c | 52 +++++++++++++ tools/libxl/libxl.h | 4 + tools/libxl/libxl_types.idl | 8 ++ tools/libxl/xl.h | 1 tools/libxl/xl_cmdimpl.c | 170 +++++++++++++++++++++++++++++++++++++++++++ tools/libxl/xl_cmdtable.c | 16 ++++ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel