- scheduler, vbox plan class function:

send only 32/64 bit version to 32/64 bit host


svn path=/trunk/boinc/; revision=24916
This commit is contained in:
David Anderson 2011-12-27 02:29:51 +00:00
parent 61e6e8949e
commit df5d595c3a
2 changed files with 11 additions and 2 deletions

View File

@ -9599,3 +9599,10 @@ Rom 26 Dec 2011
samples/vboxwrapper/
vbox.cpp
vboxwrapper.cpp
David 26 Dec 2011
- scheduler, vbox plan class function:
send only 32/64 bit version to 32/64 bit host
sched/
sched_customize.cpp

View File

@ -540,8 +540,10 @@ static inline bool app_plan_vbox(
// it will look in the 32-bit half of the registry and fail
//
PLATFORM* p = g_request->platforms.list[0];
if (strstr(plan_class, "64") && !is_64b_platform(p->name)) {
return false;
if (is_64b_platform(p->name)) {
if (!strstr(plan_class, "64")) return false;
} else {
if (strstr(plan_class, "64")) return false;
}
if (strstr(plan_class, "mt")) {