[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] libxl.c::macro definition::LIBXL_SCHEDULER_SEDF
Hello Gurus, I am working on a project to change code of xen, Unfortunately I can not find the macro def of :ÂLIBXL_SCHEDULER_**** if C compiler not finds it ,it will trigger Âan error " XXX not defined" But where is it ? I search all c and h files. Could you please help me to check it ? Jie Shen =========================================== int libxl_domain_sched_params_set(libxl_ctx *ctx, uint32_t domid,                  const libxl_domain_sched_params *scinfo) {   GC_INIT(ctx);   libxl_scheduler sched = scinfo->sched;   int ret;   if (sched == LIBXL_SCHEDULER_UNKNOWN)     sched = libxl__domain_scheduler(gc, domid);   switch (sched) {   case LIBXL_SCHEDULER_SEDF:     ret=sched_sedf_domain_set(gc, domid, scinfo);     break;   case LIBXL_SCHEDULER_CREDIT:     ret=sched_credit_domain_set(gc, domid, scinfo);     break;   case LIBXL_SCHEDULER_CREDIT2:     ret=sched_credit2_domain_set(gc, domid, scinfo);     break;   case LIBXL_SCHEDULER_RTGLOBAL:     ret=sched_rtglobal_domain_set(gc, domid, scinfo);     break;   case LIBXL_SCHEDULER_RTPARTITION:     ret=sched_rtpartition_domain_set(gc, domid, scinfo);     break;  Â   case LIBXL_SCHEDULER_ARINC653:     ret=sched_arinc653_domain_set(gc, domid, scinfo);     break;   default:     LOG(ERROR, "Unknown scheduler");     ret=ERROR_INVAL;     break;   }   GC_FREE;   return ret; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |