[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/libxl: include scheduler parameters in the output of xl list -l
commit 3b4adbadb9bea83b8b1affe2e68e1a4c454247f2 Author: Roger Pau Monne <roger.pau@xxxxxxxxxx> AuthorDate: Thu Jan 5 10:08:34 2017 +0000 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Jan 5 16:32:37 2017 +0000 tools/libxl: include scheduler parameters in the output of xl list -l Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Reported-by: Fatih Acar <fatih@xxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/libxl/libxl.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 2f83731..d03e939 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -6851,6 +6851,17 @@ int libxl_retrieve_domain_configuration(libxl_ctx *ctx, uint32_t domid, d_config->b_info.max_memkb = max_memkb; } + /* Scheduler params */ + { + libxl_domain_sched_params_dispose(&d_config->b_info.sched_params); + rc = libxl_domain_sched_params_get(ctx, domid, + &d_config->b_info.sched_params); + if (rc) { + LOGD(ERROR, domid, "Fail to get scheduler parameters"); + goto out; + } + } + /* Devices: disk, nic, vtpm, pcidev etc. */ /* The MERGE macro implements following logic: -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |