Commit Graph

892 Commits

Author SHA1 Message Date
Rom Walton 557f351785 WINBUILD: Cleanup work to support VS 2013 builds 2015-05-06 18:14:31 -04:00
Rom Walton 91a50a4b97 VBOX: Explicitly check the return value if CreateProcess fails while attempting to launch vboxsvc.exe. 2015-05-04 20:28:55 -04:00
Rom Walton 699f22d051 VBOX: Make sure vboxsvc is launched outside the slot directory in sandbox mode on Windows. 2015-05-04 19:44:00 -04:00
Rom Walton 8bdac717eb VBOX: Add a system ready check for incompatible dependencies. 2015-05-01 15:24:46 -04:00
Rom Walton 5ac080b207 VBOX: Tighten up how the version information is displayed on systems falling back to vboxmanage. 2015-05-01 15:11:44 -04:00
Rom Walton 119237594d VBOX: Latest versions of VirtualBox changed the kernel drivers missing error message. 2015-05-01 14:57:58 -04:00
David Anderson 5f53fe3077 wrapper: fix bug in reading checkpoint file; from Kevin Vinson 2015-04-21 11:51:00 -07:00
Rom Walton d9ecce24d4 VBOX: Add error trap for COM errors raised by the MSVC compiler stubs. Dump the contents of the error to stderr and halt the wrapper. 2015-04-20 16:11:07 -04:00
Rom Walton 1432538891 VBOX: If <disable_automatic_checkpoints/> is specified, automatically report completed checkpoints to the client as soon as the API requests them. 2015-04-16 18:48:38 -04:00
Rom Walton b109e0a3a7 VBOX: Make sure to include the startup log in stderr instead of just repeating the trace log. 2015-04-15 12:47:54 -04:00
Charlie Fenton f05019c8ef OpenCL sample app: update Macintosh build instructions 2015-04-14 07:35:48 -07:00
Charlie Fenton 9849b0005a Samples: Add Macintosh build instructions for example app (uppercase), VBoxWrapper and Wrapper 2015-04-14 07:34:42 -07:00
Charlie Fenton 689dc50349 Wrapper: fixes for compatibility with Xcode 6 2015-04-14 07:28:47 -07:00
Charlie Fenton 7a41744466 VBoxWrapper: fixes for compatibility with Xcode 6 2015-04-14 07:28:11 -07:00
Charlie Fenton c5dad5dd21 OpenCL sample app: fixes for compatibility with Xcode 6 2015-04-14 07:16:06 -07:00
Charlie Fenton cbc4fb5b1f Example App (uppercase): fixes for compatibility with Xcode 6 2015-04-14 07:15:03 -07:00
Charlie Fenton 6878ca6d07 Example App (uppercase): fixes for compatibility with Xcode 6 2015-04-14 07:13:54 -07:00
Rom Walton 28254563da VBOX: Always show the VboxStartup.log on error. 2015-04-13 13:05:11 -04:00
Charlie Fenton fd13d09dd4 VBOX: Update Makerfile_mac Xcode project.to remove deleted files vboxlog.cpp and vboxlog.h 2015-04-10 00:20:31 -07:00
Charlie Fenton eb5b175f76 VBOX: Update Mac Xcode project.to remove deleted files vboxlog.cpp and vboxlog.h 2015-04-08 15:43:37 -07:00
Rom Walton 19b3dd982b VBOX: Add VboxStartup.log to the list of partial log dumps to stderr when something goes wrong. 2015-04-08 12:52:59 -04:00
Rom Walton 3c43cfab6a VBOX: Remove unneeded files. 2015-04-08 12:45:03 -04:00
Rom Walton 8433264ed2 VBOX: cut down on some of the noise with spurious 'Status Report' messages when we attempt to launch the VM. 2015-04-07 19:58:39 -04:00
Rom Walton 30c23d28f3 VBOX: Check for a valid Console pointer before attempting to pause/resume the VM.
get_Console() is not returning an error, bit the returning IConsole interface is NULL.  Just return an ERR_EXEC instead of crash.
2015-04-07 18:28:18 -04:00
Rom Walton 1faf8abf3f VBOX: After adding in a new VirtualBox COM interface, you must hook up the plumbing. 2015-04-04 09:33:44 -04:00
Rom Walton f7df3c380a VBOX: Only add the guest additions ISO to the VM if the file has actually been detected on the file system.
Some Linux systems separate the VirtualBox packages so that the guest additions ISO is in a separate package.  We were attempting to add a DVD device for a file that did not exist.
2015-04-02 16:55:57 -04:00
Rom Walton fc621bf1c8 VBOX: Clean-up Vbox 4.2/4.3/5.0 support. 2015-04-01 15:29:18 -04:00
Rom Walton 228e82a4b7 VBOX: Add COM support for VirtualBox 5.0 Beta 1. 2015-04-01 14:53:43 -04:00
Rom Walton 3a399ea0f5 VBOX: If polling for the current VM state fails for any reason, like vboxsvc crashing, do a temp exit for 24 hours.
Before COM, polling for the current state wasn't as critical.  If the poll operation failed, we would try again in one second anyway.

After COM, it is used as a test to see if the communication channel between the wrapper and VirtualBox is still operational.  If not, temp exit and hope things work the next attempt.
2015-03-27 16:34:09 -04:00
Rom Walton 70def08644 VBOX: Add additional check for a valid pointer to prevent crash condition. 2015-03-26 17:32:52 -04:00
Rom Walton 46648d0d38 VBOX: Add better error checks when handling COM error conditions. 2015-03-26 17:22:17 -04:00
Rom Walton 07752ba4dd VBOX: Remove unneeded error string 2015-03-26 08:55:32 -04:00
Rom Walton a8a9f23ae9 VBOX: Add option to use 'savestate' instead of 'poweroff' during graceful VM shutdown. 2015-03-25 16:54:22 -04:00
Rom Walton 04285a19df VBOX: Add a configuration option to turn-off automatic check-pointing.
Projects may want to handle check-pointing within their own application and skip the disk intensive requirements of a VM snapshot.
2015-03-25 16:09:07 -04:00
Rom Walton 16ae8d57c9 VBOX: Enable/Disable network after the network type has been specified. 2015-03-22 15:19:08 -04:00
Rom Walton 32fe92acd0 VBOX: When attempting to deregister the VM, if we are unable to acquire the session lock, exit the routine with an error. Avoid a crash. 2015-03-20 10:08:06 -04:00
Rom Walton 1901b2bc7e VBOX: Same with the temporary exit trigger file 2015-03-20 09:58:37 -04:00
Rom Walton f0293098d3 VBOX: Take care of a false positive. The completion file string size must be greater than zero. 2015-03-20 09:56:08 -04:00
Rom Walton 8b997f0cfe VBOX: If we experience a timeout when attempting to start the VM, dump the log files. 2015-03-20 09:49:42 -04:00
Christian Beer 833c877f3a BUILD: add example apps into the build process
- By default apps won't be built. In order to build the example apps use --enable-apps as option to ./configure. Not all apps are supported as some need further external libraries.
- Also fix a copy/paste error in the vboxmonitor Makefile
2015-02-12 16:58:14 +01:00
Rom Walton 1e5dc8b61b HTMLGFX: Completed the move of all platform independent code to source files that will be shared between platforms.
All that should be required for new platforms is to implement a 'run' function that creates a window that hosts an HTML control and queries determine_state_url() and determine_exit_state() once a second.
2015-01-17 17:05:09 -05:00
Rom Walton 96c0317f90 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2015-01-16 00:49:41 -05:00
Rom Walton 8bdf177e4e HTMLGFX: Checkpoint (Continuation of previous commit.)
* Custom IE Javascript interface is gone, it was replaced with a cross-browser Web RPC.
In the HTML doc you can add:
<script type='text/javascript' src='/api/static/boinc.js'></script>

In the JavaScript code you can:
var boinc = new BOINC();

From there you can get the username like:
var userName = boinc.getUserName();

* Default resources are embedded within the executable in much the same way XPM images are embedded in the manager.
  /api/static/index.html
  /api/static/boinc.png
  /api/static/boinc.js
2015-01-16 00:49:17 -05:00
Charlie Fenton 8cac4bd2b5 VBOX: Update Xcode project for building vboxwrapper on Mac OS X 2015-01-15 15:51:00 -08:00
Rom Walton e31d3c86b4 VBOX: Add missing header 2015-01-15 18:16:59 -05:00
Rom Walton 9dc2161436 VBOX: Configure a bunch of virtual functions to be purely abstract to avoid a bunch of compiler warnings in gcc 2015-01-15 18:14:35 -05:00
Rom Walton 9784669271 VBOX: Fix makefiles for building vboxwrapper on Linux and Mac OS X 2015-01-15 17:19:45 -05:00
Rom Walton 725982c7eb VBOX: Add missing header on *nix based builds 2015-01-15 16:31:01 -05:00
Julien Nabet d75222ebf3 cppcheck: Prefer prefix ++/-- operators for non-primitive types 2015-01-14 21:18:29 +01:00
Rom Walton 82dbec6671 HTMLGFX: Checkpoint (Move most of the platform specific stuff to the HTTP server side of the house, it becomes cross-browser/cross-platform) 2015-01-12 15:47:34 -05:00