mirror of https://github.com/BOINC/boinc.git
VBOX: When running a 32-bit vboxwrapper on a 64-bit Windows machine, exit with a temporary error suggesting that the volunteer upgrade to a 64-bit BOINC client. 32-bit vboxwrapper cannot detect VirtualBox on a 64-bit system.
This commit is contained in:
parent
d980f70163
commit
d0c765b101
|
@ -427,6 +427,19 @@ int main(int argc, char** argv) {
|
|||
//
|
||||
boinc_get_init_data_p(&aid);
|
||||
|
||||
// Check for architecture incompatibilities
|
||||
//
|
||||
#if defined(_WIN32) && defined(_M_IX86)
|
||||
if (strstr(aid.host_info.os_version, "x64")) {
|
||||
fprintf(
|
||||
stderr,
|
||||
"%s 64-bit version of BOINC is required, please upgrade, telling BOINC to reschedule execution for a later date.\n",
|
||||
vboxwrapper_msg_prefix(buf, sizeof(buf))
|
||||
);
|
||||
boinc_temporary_exit(86400, "Architecture incompatibility detected.");
|
||||
}
|
||||
#endif
|
||||
|
||||
// Initialize VM Hypervisor
|
||||
//
|
||||
retval = vm.initialize();
|
||||
|
|
Loading…
Reference in New Issue