[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v1 4/4] xl: introduce rt scheduler



Hi Wei,

Thank you very much for your comment! All of the points you mentioned in this patch have been solved now.Â
â
Â
> +{
> +Â Â char *domname;
> +Â Â libxl_domain_sched_params scinfo;
> +Â Â int rc = 0, i;
> +
> +Â Â if (domid < 0) {
> +Â Â Â Â printf("%-33s %4s %4s %9s %9s\n", "Name", "ID", "VCPU", "Period", "Budget");
> +Â Â Â Â return 0;
> +Â Â }
> +
> +Â Â libxl_domain_sched_params_init(&scinfo);
> +Â Â rc = sched_domain_get(LIBXL_SCHEDULER_RT, domid, &scinfo);
> +Â Â if (rc)
> +Â Â Â Â goto out;
> +
> +Â Â domname = libxl_domid_to_name(ctx, domid);
> +Â Â for( i = 0; i < scinfo.rt.num_vcpus; i++ )
> +Â Â {

Spaces and coding style.

Note that toolstack coding style is different from hypervisor coding
style.

âI see. :-) Thanks!â


â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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.