[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC v1 2/4] xl for rt scheduler
Hi Wei, First, thank you very much for your comments!Â
âI will delete the blank line. â
âWe just print out the header here. This function will call âsched_domain_get(LIBXL_SCHEDULER_RT, domid, &scinfo) and print out the VCPUs parameters of each domain in the calling function. â
Â
âThank you very much for pasting the rules here! I really appreciate it. However, I didn't quite get why it violate the libxl type paradigm and how I should correct it. (Sorry. :-()â
We actually followed the way credit scheduler does inÂmain_sched_credit(int argc, char **argv) Â Â Â Â } else { /* set credit scheduler paramaters */ Â Â Â Â Â Â libxl_domain_sched_params scinfo;
      libxl_domain_sched_params_init(&scinfo);       scinfo.sched = LIBXL_SCHEDULER_CREDIT;       if (opt_w)
        scinfo.weight = weight;       if (opt_c)         scinfo.cap = cap;       rc = sched_domain_set(domid, &scinfo);
      libxl_domain_sched_params_dispose(&scinfo); Could you help let me know how I should modify it? I will check the rest to modify when I know how to do it.Â
Thank you very much! Best, Meng ----------- Meng Xu PhD Student in Computer and Information Science University of Pennsylvania _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |