From 94c7b82d3b7855c385d05b146abdd93d77c235aa Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 26 Dec 2011 13:42:34 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=24903 --- checkin_notes | 11 +++++++++-- sched/sched_customize.cpp | 7 ++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/checkin_notes b/checkin_notes index 5478866edf..1d2316b0cd 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9548,9 +9548,16 @@ David 26 Dec 2011 David 26 Dec 2011 - scheduler: in vbox plan class, require that host have VM acceleration hardware feature - - remove job submission: typo fix + - remote job submission: typo fix sched/ sched_customize.cpp html/user/ - submit.ph + submit.php + +Rom 25 Dec 2011 + - scheduler: in vbox plan class, require that host have + VM acceleration hardware feature if the job is multi-core. + + sched/ + sched_customize.cpp diff --git a/sched/sched_customize.cpp b/sched/sched_customize.cpp index a3a60c6bba..94b273cd40 100644 --- a/sched/sched_customize.cpp +++ b/sched/sched_customize.cpp @@ -526,10 +526,11 @@ static inline bool app_plan_vbox( if (maj < 3) return false; if (maj == 3 and min < 2) return false; - // host must have VM acceleration + // host must have VM acceleration in order to run multi-core jobs // - if (!strstr(sreq.host.p_features, "vmx") - && !strstr(sreq.host.p_features, "svm") + if (strstr(plan_class, "mt") + && (!strstr(sreq.host.p_features, "vmx") + && !strstr(sreq.host.p_features, "svm")) ) { return false; }