| 158 | |
| 159 | == Vboxwrapper command-line options == |
| 160 | |
| 161 | --trickle X :: Send a trickle message reporting elapsed time every X seconds. |
| 162 | Use this for creating granting if needed. |
| 163 | -- nthreads N :: Create a virtual machine that will use N cores. |
| 164 | --vmimage file :: Use "file" as the VM image. |
| 165 | This lets you create an app version with several images, |
| 166 | and the app_plan function can decide which one to use for the particular host. |
| 167 | -- register_only :: Register the VM but don't run it. For debugging; see below. |
| 177 | |
| 178 | == Debugging VM apps == |
| 179 | |
| 180 | To debug a VM within the BOINC/VboxWrapper framework: |
| 181 | |
| 182 | * Launch BOINC with --exit_before_start |
| 183 | * When BOINC exits, launch the VboxWrapper with the register_only |
| 184 | * Set the VBOX_USER_HOME environment variable to the vbox directory |
| 185 | under the slot directory. |
| 186 | This changes where the VirtualBox applications look for the |
| 187 | root VirtualBox configuration files. |
| 188 | It may or may not apply to your installation of VirtualBox. |
| 189 | It depends on where your copy of VirtualBox came from |
| 190 | and what type of system it is installed on. |
| 191 | * Now Launch the VM using the VirtualBox UI. |
| 192 | You should now be able to interact with your VM. |