-
Notifications
You must be signed in to change notification settings - Fork 473
Vboxwrapper - handling of outdated vboxmanage command options #5587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vboxwrapper - handling of outdated vboxmanage command options #5587
Conversation
I don't like this solution simply because this breaks the whole function logic. |
As mentioned, the reason why the check fails is unknown. Below please find a complete list where All other locations also cause no harm if As for more logging: boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 452 to 458 in 627637d
boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 352 to 360 in 627637d
boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 735 to 738 in 627637d
boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 874 to 877 in 627637d
boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 1456 to 1458 in 627637d
boinc/samples/vboxwrapper/vbox_vboxmanage.cpp Lines 2140 to 2143 in 627637d
|
Even if now there is no harm to do the change you proposed, that doesn't mean that this won't make an issue in future.
|
As for (1.): As for (2.): |
My feeling is: we should try to figure out why version detection fails. But if it does fail, we should assume it's the current version. |
Certain Vbox tasks from LHC@home recently failed with log entries like this:
The root cause is that (for an unknown reason) the VirtualBox version could not be detected.
Vboxwrapper then used
--sataportcount
which is set sinceis_virtual_box_version_newer()
returns false as default.The log also shows that the VirtualBox version used on this computer is 7.0.8.
Suggestion
To give a task a chance to run
is_virtual_box_version_newer()
should returntrue
as default which would set recent vboxmanage command options as default.