VBOX: Start keeping track on incompatible versions of VirtualBox.

Set the temporary exit delay to one day if an incompatible version is detected.  This gives the volunteer a chance to take corrective action before the task errors out after it exceeds its deadline.
This commit is contained in:
Rom Walton 2013-04-24 15:03:26 -04:00
parent 0a39e44a79
commit b19d1ea85f
1 changed files with 7 additions and 0 deletions

View File

@ -451,6 +451,13 @@ int main(int argc, char** argv) {
);
}
// Check against known incompatible versions of VirtualBox.
// NOTE: Incompatible in this case means that VirtualBox 4.2.6 crashes during snapshot operations
//
if (vm.virtualbox_version.find("4.2.6r") != std::string::npos) {
boinc_temporary_exit(86400, "Incompatible version of VirtualBox detected.");
}
// Record if anonymous platform was used.
//
if (boinc_file_exists((std::string(aid.project_dir) + std::string("/app_info.xml")).c_str())) {