|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 2/4] libxl: add sched_get_id function [and 1 more
Andre Przywara writes ("[Xen-devel] [PATCH 2/4] libxl: add sched_get_id
function"):
> To get the name of the currently used scheduler, Xen provides a sched_id
> sysctl.
> Add a libxl wrapper around the libxc function to query this.
There should be a doc comemnt in libxl.h saying what the return value
is. In this case it seems to be one of the values XEN_SCHEDULER_*
from xen/include/public/domctl.h.
Vincent Hanquez writes ("Re: [Xen-devel] [PATCH 2/4] libxl: add sched_get_id
function"):
> On 18/04/10 22:25, Andre Przywara wrote:
> > To get the name of the currently used scheduler, Xen provides a sched_id
> > sysctl.
> > Add a libxl wrapper around the libxc function to query this.
>
> maybe it should returns an enum libxl_sched_id instead of just a plain int ?
That would be an alternative but it does involve extra source code
which TBH I think we can do without.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|