[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1 of 2 v2] libxl: propagete down the error from libxl_domain_sched_params_set
On Thu, 2012-06-07 at 17:41 +0100, Ian Jackson wrote: > Dario Faggioli writes ("[PATCH 1 of 2 v2] libxl: propagete down the error > from libxl_domain_sched_params_set"): > > So that the caller (e.g., libxl__build_post() ) knows and can deal with it. > ... > > - libxl_domain_sched_params_set(CTX, domid, &info->sched_params); > > + if (libxl_domain_sched_params_set(CTX, domid, &info->sched_params)) > > + return ERROR_INVAL; > > This is not correct. It should return whatever error code > libxl_domain_sched_params_set returns, not unconditionally > ERROR_INVAL. > Ops, you're right, sorry... New version coming! Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |