svn path=/trunk/boinc/; revision=24903

This commit is contained in:
Rom Walton 2011-12-26 13:42:34 +00:00
parent fe16024982
commit 94c7b82d3b
2 changed files with 13 additions and 5 deletions

View File

@ -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

View File

@ -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;
}