Commit Graph

23565 Commits

Author SHA1 Message Date
Rom Walton 4dda6f53e1 VBOX: Start success is when both vm_pid and vm_pid_handle are non-zero values. 2014-01-23 07:30:16 -05:00
David Anderson 38e83a3cd7 Client: don't use sub-second CPU throttling
I forgot that the wrapper has a 1-second poll for suspend and resume,
so sub-second throttling won't work properly for wrapper apps.
Revert to a variant of the old scheme,
in which the min of the suspended and resumed periods is 1 sec.

Also, fix task start/suspend/resume log messages.
2014-01-22 17:26:26 -08:00
David Anderson bd19068600 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-01-22 17:13:42 -08:00
Rom Walton 4115e9a454 VBOX: Only look for the VM pid if no error code was returned from vbm_popen(). 2014-01-22 19:55:14 -05:00
Rom Walton adc96a3f74 WINBUILD: Update vboxwrappers version to 26066 2014-01-22 19:52:53 -05:00
Rom Walton 52258d9359 VBOX: Bring back the method of using vboxmanage to launch the VM.
We are getting some funky results launching the VM directly and the next update window for RNAWorld is this Friday.  So using the old method for that release is the right thing to do.
2014-01-22 19:52:26 -05:00
Rom Walton f53ac40edf WINBUILD: Update vboxwrappers version to 26065 2014-01-22 16:37:37 -05:00
Rom Walton b8b768fbf6 VBOX: Vboxsvc doesn't return error codes in the same format as vboxmanage. Special case vboxsvc error code RPC_S_SERVER_UNAVAILABLE. 2014-01-22 16:33:21 -05:00
Rom Walton f3f9a19d23 VBOX: Do not retry the closemedium commands when unregistering stale VMs. VirtualBox has probably deleted the files. This is kept around for older versions of VirtualBox. 2014-01-22 16:12:38 -05:00
Rom Walton 05c419485a WINBUILD: Update vboxwrappers version to 26064 2014-01-22 16:10:47 -05:00
Rom Walton d32dfbb63d VBOX: Make the guest log feature function correctly with less than 16k worth of output. 2014-01-22 15:21:58 -05:00
Rom Walton b9e2af9c14 VBOX: It is also useful to know whether commands had to be retried after a timeout 2014-01-22 14:38:42 -05:00
Rom Walton 94035386a8 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-01-22 14:34:52 -05:00
Rom Walton 6cfdbf88f1 VBOX: Introducing the replay and trace logs for vboxwrapper.
The replay log stores the commands that were executed in a near shell script state.  Ideally we should be able to use this to pass bugs back upstream to VirtualBox.

The trace log shows the date, time, thread id, command, return value, and output of the above commands.
2014-01-22 14:34:20 -05:00
David Anderson ebef406fe8 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-01-22 11:10:34 -08:00
David Anderson 02b5defa71 client: fix bugs in accounting elapsed time 2014-01-22 11:10:21 -08:00
David Anderson 9d056d60cb client: <cpu_sched> shouldn't show suspend/resume msgs for CPU throttling 2014-01-22 11:08:09 -08:00
Rom Walton 5778cd653f VBOX: Unify the code that strips the carriage returns from various output of VirtualBox commands 2014-01-22 11:52:06 -05:00
Rom Walton a09e6f145b VBOX: Only consider launch_vboxvm() a success if the VM process is still running after our read output buffer loop 2014-01-22 11:32:06 -05:00
Rom Walton 5f2fbe9dfc VBOX: Fortify the launch_vboxvm() function and print out any error information if virtualbox/vboxheadless fails wthin the first second of execution.
VBOX: Rework the delete stale snapshot mechanism to avoid the 'multiple child hard drive' errors.
VBOX: Treat the RPC_S_SERVER_UNAVAILABLE error when restoring the current snapshot as unrecoverable (vboxsvc has crashed) and exit without attempting to cleaning up. Other VMs running and being monitored by BOINC will crash as well.
2014-01-22 10:44:38 -05:00
Charlie Fenton 8cebb0d6ac MGR: message tweaks 2014-01-22 03:41:52 -08:00
Charlie Fenton 9344752544 Mac uninstaller: embed a copy of VirtualBox_Uninstall.tool inside BOINC Uninstaller application (only for BOINC+VBox installer) so that BOINC uninstaller can remove VirtualBox even if BOINC Uninstaller application has been moved 2014-01-22 03:04:16 -08:00
Rom Walton d189767b0e VBOX: Fix the guest log parser 2014-01-21 11:29:13 -05:00
Charlie Fenton c98bbc73b1 client: fix typo. 2014-01-21 04:45:19 -08:00
Charlie Fenton 6e543cd8ad Mac: Fix display of OS version in Event Log and stdoutdae.txt. There is no longer a simple correspondence between Darwin and OS X version numbers. 2014-01-21 04:43:05 -08:00
Charlie Fenton 936fad0beb Mac uninstaller: optionally remove VirtualBox if combined BOINC+VirtualBox Installer was used to install 2014-01-21 04:20:53 -08:00
David Anderson 07e8026caa example app comment typo 2014-01-20 23:39:59 -08:00
David Anderson 04327eb7e7 vboxwrapper: fix VM-launch code for UNIX 2014-01-20 23:34:35 -08:00
Rom Walton 8c0139937c VBOX: Fix another formatting issue 2014-01-21 00:47:10 -05:00
Rom Walton a184ae85c4 WINBUILD: Update vboxwrappers version to 26062 2014-01-21 00:30:14 -05:00
Rom Walton ce48f695f4 VBOX: Fix format issue 2014-01-21 00:26:25 -05:00
Rom Walton 87f6f0c2ea VBOX: Change how we launch the VirtualBox VM process. Directly execute virtualbox.exe or vboxheadless.exe depending on configuration. 2014-01-21 00:18:56 -05:00
Rom Walton 0bd9e49f87 Revert "VBOX: Remove unneeded function"
This reverts commit 52f7103e82.
2014-01-20 16:32:35 -05:00
Rom Walton 52f7103e82 VBOX: Remove unneeded function 2014-01-20 16:06:36 -05:00
David Anderson d103006134 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-01-20 20:00:16 +00:00
admin 52b044c191 Commit from Pootle Demo by user admin.: 3116 of 3117 strings translated (0 fuzzy). 2014-01-20 20:00:10 +00:00
Rom Walton b6b0d6224d VBOX: Detect vboxsvc's process id by using the PROC_INFO facilities in libboinc. Depending on how long vboxsvc has been running, it may not list the process id if the log has been cycled. 2014-01-20 14:51:17 -05:00
Rom Walton b99a504d45 VBOX: Fix comment 2014-01-20 14:16:23 -05:00
Rom Walton c977364f51 VBOX: Formatting fix 2014-01-20 14:14:52 -05:00
Rom Walton e0b0b58149 VBOX: Add missing feature that allows the volunteer to run VirtualBox in headfull mode when not running as a service. 2014-01-20 14:13:32 -05:00
David Anderson 1859c7c82b Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-01-20 08:00:11 +00:00
admin 1ca4789277 Commit from Pootle Demo by user admin.: 2095 of 2797 strings translated (104 fuzzy). 2014-01-20 08:00:04 +00:00
David Anderson f4a270ad04 example app: load fonts from project dir, not slot dir
Slot dir will containt link files, not font files
2014-01-19 16:55:10 -08:00
David Anderson a76241fefd Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-01-19 16:53:32 -08:00
David Anderson 09a642295b ttfont: code format 2014-01-19 16:52:40 -08:00
David Anderson 4a9f9fa506 locale: Update compiled localization files 2014-01-19 12:17:28 -08:00
admin b59c7bc9f7 Commit from Pootle Demo by user admin.: 3116 of 3117 strings translated (0 fuzzy). 2014-01-19 20:02:39 +00:00
admin ac98b3a049 Commit from Pootle Demo by user admin.: 2658 of 2797 strings translated (99 fuzzy). 2014-01-19 20:02:34 +00:00
admin 7b4f254d9b Commit from Pootle Demo by user admin.: 2795 of 2797 strings translated (0 fuzzy). 2014-01-19 20:02:29 +00:00
admin 52ab6b8a68 Commit from Pootle Demo by user admin.: 2762 of 2797 strings translated (1 fuzzy). 2014-01-19 20:02:22 +00:00