[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OPW PATCH] tools/libxl/xl_cmdimpl.c : Calling init function
This patch calls init function before using libxl_domain_sched_params in sched_domain_get(). Signed-off-by: Uma Sharma <uma.sharma523@xxxxxxxxx> --- diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index c734f79..5b4de28 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -5157,6 +5157,7 @@ static int sched_domain_get(libxl_scheduler sched, int domid, { int rc; + libxl_domain_sched_params_init(scinfo); rc = libxl_domain_sched_params_get(ctx, domid, scinfo); if (rc) { fprintf(stderr, "libxl_domain_sched_params_get failed.\n"); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |