Commit Graph

911 Commits

Author SHA1 Message Date
Rom Walton eaf9cb817d VBOX: Only perform the printf format string sanitize functionality on those strings that are going to be consumed by vbox_log(). 2015-08-28 17:24:00 -04:00
Rom Walton 6736f5958e VBOX: Add additional comments 2015-08-28 17:16:13 -04:00
Rom Walton 54a2715e8f VBOX: Possible fix for endless loop. 2015-08-28 16:01:48 -04:00
Rom Walton 38d8041523 VBOX: Bug fix for previous commit. 2015-08-28 14:25:37 -04:00
Rom Walton bbd94c4b7d VBOX: Sanitize 'Guest Log' entries before attempting to write them to stderr. 2015-08-28 14:23:45 -04:00
Rom Walton 95084cee60 VBOX: Make sure the scratch directory value is populated at start up when using the COM interface. 2015-08-24 15:05:23 -04:00
Rom Walton 1b3adf33ae VBOX: When a fraction done file is specified and it has not been created yet, report a non-zero fraction done to prevent BOINC from attempt to calculate it itself. 2015-08-20 19:06:56 -04:00
David Anderson 0ec084e705 wrapper: on Unix, get the task exit status with WEXITSTATUS()
How did the wrapper ever work on Unix?
Seems like it would think that every task failed.
2015-08-19 23:28:59 -07:00
Rom Walton f86e2dacd1 Merge pull request #1367 from marius311/master
vboxwrapper ncpus -> nthreads bug
2015-07-10 12:00:55 -04:00
Rom Walton 3513922f43 VBOX: Update to support VirtualBox 5.0 RTW. 2015-07-09 11:56:00 -04:00
marius 945afadc2b vboxwrapper ncpus -> nthreads bug 2015-07-07 14:24:32 -07:00
Rom Walton 647511d990 VBOX: Bug Fix 2015-07-05 14:39:47 -04:00
Rom Walton 3ee10705e8 VBOX: Clean-up the VirtualBox version detection mess. 2015-07-05 14:35:48 -04:00
Rom Walton cbe876f3e4 VBOX: Add support for VirtualBox 5.0 RC 3.
Adjust to the changes in the object model when dealing with snapshots and saved state.
2015-07-04 16:33:35 -04:00
Rom Walton a232766d01 VBOX: Bug fix. 2015-07-04 12:45:43 -04:00
Rom Walton 9f42c5dc00 VBOX: Attempt to gracefully fallback to using vboxmanage when the COM interface cannot be successfully created. 2015-07-04 12:31:23 -04:00
Rom Walton 86598c9c6e VBOX: Check for the cache disk configuration flag before attempting to query for the vm_image virtual disk. There will be no vm_image virtual disk to unregister when cache disks are used with isocontextualization. 2015-07-03 16:46:30 -04:00
Rom Walton fa44b3c169 VBOX: Create a new job file flag for dealing with the scratch directory feature. 2015-06-28 15:18:17 -04:00
Rom Walton d57ba52623 VBOX: Introduce the notion of a scratch directory when shared folders are used.
The scratch directory is created under the project folder.
2015-06-25 19:16:10 -04:00
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