mirror of https://github.com/BOINC/boinc.git
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:
parent
0a39e44a79
commit
b19d1ea85f
|
@ -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())) {
|
||||
|
|
Loading…
Reference in New Issue