-
Notifications
You must be signed in to change notification settings - Fork 459
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]Enable vboxwrapper to use multiattach mode disk images #4603
Conversation
Required in connection with feature request BOINC#4602
Required in connection with feature request BOINC#4602
Required in connection with feature request BOINC#4602
Introduce tag <multiattach_vdi_file>
Introduce tag <multiattach_vdi_file>
Add code to use VirtualBox differencing images
Windows build fail is expected, waiting for the fix to be merged: microsoft/vcpkg#22509 |
Who is responsible to trigger manual page changes? Since the PR passed all automatic test I assume it may be merged into the master some day. I'm currently aware of the following pages. https://boinc.berkeley.edu/trac/wiki/VboxApps#TheVboxjobdescriptionfile https://boinc.berkeley.edu/trac/wiki/AppVersionNew#Theversiondescriptionfile Where should the following hints for project admins go to? When an image file is ready to be send out, the new method can safely be used. |
@computezrmle, did you test this on Windows? Artifacts are available on the CI |
@AenBleidd No I did'nt. I don't have a Windows system where I can test it. |
Question to the workflow experts. |
Create a new branch from this branch |
Output from "vboxmanage -q list hdds" contains paths that are compared with the path of a file. Linux uses "/" as preferred directory separator while Windows uses "\". This patch ensures the compare delivers the same result on both platforms.
Update vbox_vboxmanage.cpp
Minor changes regarding the benchmark files were planned to be part of a separate PR. The changes avoid gcc compiler warnings caused by
|
Tested on Windows 10 with VBox 6.1.32 on Rosetta with anonymous platform and manually removed |
I'm preparing to test this feature. @computezrmle , can you please tell me how to convert our current minimal Linux VM image, |
To see what happens I suggest to do the following steps via the VirtualBox GUI:
Done When you start the VM for the first time VirtualBox will open vmimage_x64.vdi read-only (as "parent disk") and it will automatically create a writable differencing vdi file below the VM's standard directory. The steps from above can also be executed via vboxmanage. |
Required in connection with feature request #4602
Description of the Change
Enables vboxwrapper to deal with multiattach mode disk images and differencing images as described in the feature request.
Additional settings need to be done by the project admin who wants to use this functionality.
Also described in the feature request.
The traditional use of disk images is still there and remains the default.
Alternate Designs
None.
It's an enhancement based on a previously unused VirtualBox feature.
Release Notes
N/A