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

[Xen-changelog] [xen-unstable] If the 'sched' parameter is unrecognized, choose the first scheduler



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266256154 0
# Node ID cbb147631e8cda24fda36d8ab627e0d9f21c4547
# Parent  560277d2fd203f88aed60f60c2b97bf241d02797
If the 'sched' parameter is unrecognized, choose the first scheduler

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---
 xen/common/schedule.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 560277d2fd20 -r cbb147631e8c xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Feb 15 08:19:07 2010 +0000
+++ b/xen/common/schedule.c     Mon Feb 15 17:49:14 2010 +0000
@@ -929,7 +929,10 @@ void __init scheduler_init(void)
     }
     
     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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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