mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/libxl: include scheduler parameters in the output of xl list -l
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reported-by: Fatih Acar <fatih@gandi.net> Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
e5ca20e0f6
commit
3b4adbadb9
1 file changed
+11
@@ -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:
|
||||
|
||||