diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index cac73480fd..d936cfa36f 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -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())) {