diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-02-15 17:49:14 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-02-15 17:49:14 +0000 |
commit | 1b79179e637294d940636b438d292e943904f628 (patch) | |
tree | 219b57601bc185d725b51001a7b4f69799e07273 | |
parent | e8918e36f9430fc6138a609805f31728cc1b5fe8 (diff) | |
download | xen-1b79179e637294d940636b438d292e943904f628.tar.gz xen-1b79179e637294d940636b438d292e943904f628.tar.bz2 xen-1b79179e637294d940636b438d292e943904f628.zip |
If the 'sched' parameter is unrecognized, choose the first scheduler
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
-rw-r--r-- | xen/common/schedule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 600baeac05..3b4be55d79 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -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); |