If the 'sched' parameter is unrecognized, choose the first scheduler
PATCH 1/1 If the 'sched' parameter is unrecognized, choose the first scheduler
If the "sched" parameter is not recognized, chose the first scheduler in the list, rather than the last one.
Signed-off-by George Dunlap <[email protected]>
xen/common/schedule.c +3 -0
@@ -932,7 +932,10 @@ }if ( schedulers[i] ==NULL ) + {printk ("Could not find scheduler: %s\n" , opt_sched); + ops = *schedulers[0 ]; + }printk ("Using scheduler: %s (%s)\n" , ops.name, ops.opt_name);SCHED_OP (init);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel