[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/3] xl: new "loglvl" command
On Fri, 2016-03-04 at 09:48 -0700, Jan Beulich wrote: > This is pretty simplistic for now, but I'd rather have someone better > friends with the tools improve it (if desired). > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> > > --- a/tools/libxl/libxl.c > +++ b/tools/libxl/libxl.c > @@ -5958,6 +5958,26 @@ int libxl_send_debug_keys(libxl_ctx *ctx > return 0; > } > > +int libxl_log_level(libxl_ctx *ctx, bool set, bool guest, > + int *lower_thresh, int *upper_thresh) > Another thing I feel like saying is that having two actual functions, one for _get and one for _set (perhaps implemented just as wrappers around this one, which then would become an internal function) is, from my point of view, a better interface, e.g., it is more in line with how things are in libxl. But this, I know, is mostly personal taste, and it's the taste of the tools maintainers that counts. :-) Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.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 |