Charlie Fenton
7a41744466
VBoxWrapper: fixes for compatibility with Xcode 6
2015-04-14 07:28:11 -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
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
106ef1e837
VBOX: Make creating/writing the graphics status file part of the job file configuration. No need to write it if there is not going to be a running graphics application.
2015-01-05 22:45:37 -05:00
Rom Walton
f082889e85
WINBUILD: Fix build breaks introduced with graphics status function changes.
2015-01-05 20:37:51 -05:00
Rom Walton
d28247589e
VBOX: Always report the web graphics port to the client except when a 'graphics_app' is defined
2014-12-31 10:53:17 -05:00
Rom Walton
91bb400ce1
VBOX: Bug fix for persisting remote desktop/web api port information
2014-12-31 03:11:21 -05:00
Rom Walton
f8be188baf
VBOX: Use new graphics_status API to inform htmlgfx what is going on.
2014-12-26 17:32:05 -05:00
Rom Walton
0c717ac635
VBOX: Decoupled the HTML Graphics application from vboxwrapper.
2014-12-23 16:54:03 -05:00
Rom Walton
275e385148
VBOX: Introducing a basic graphics application for vboxwrapper based on HTML rendering. Basic plumbing is done.
...
TODO:
* Add vbox job elements to point to various URLs for various states. (running/suspended/not running)
* Add window timer to poll for shared memory changes
* Exit if running in screen saver mode and keyboard/mouse activity is detected.
2014-12-22 23:49:10 -05:00
Rom Walton
0ca76008f1
VBOX: Juha pointed out that I took one line of code out to many on a code cleanup pass. I'm adding it back in.
2014-12-22 16:35:10 -05:00
Rom Walton
58fcffc859
VBOX: Refactor vboxwrapper to streamline logging and prepare for vboxhtmlgfx.
2014-12-19 09:55:48 -05:00
Rom Walton
f2a7c28fc0
VBOX: Fix crash if DVD-ROM media had been ejected by some external event. Technically this shouldn't be happening, but something funky is going on with VirtualBox and we need to handle things that may cause a crash when cleaning up the VM.
2014-12-08 11:56:33 -05:00
Rom Walton
cb6c328151
VBOX: Make the vboxmanage interface work on Windows again.
...
VBOX: Make the service install scenario work again.
2014-11-23 23:22:57 -05:00
Rom Walton
1e04a9f150
VBOX: Fix check-pointing. I broke it with my error path cleanup.
2014-11-23 12:47:38 -05:00
Rom Walton
18abc0db07
VBOX: Get rid of unneeded variables
2014-11-23 12:47:37 -05:00
Rom Walton
a09b30353f
VBOX: Cleanup error handling code, remove duplication.
2014-11-23 12:47:37 -05:00
Rom Walton
85f364485c
VBOX: When checking for the existence of a VM registered to a given slot directory, also check for the ISO Contextualization image and cache disk image. If any type of media is registered to a given slot directory, close it regardless if it is attached to a VM or not.
2014-11-23 12:47:36 -05:00
Rom Walton
cbf93cdc86
VBOX: Fix build breaks (Part 2)
2014-11-23 12:47:35 -05:00
Rom Walton
7d3bb4803c
VBOX: Fix build breaks
2014-11-23 12:47:35 -05:00
Rom Walton
7713406f6f
VBOX: Bug fix for previous commit.
2014-11-23 12:47:34 -05:00
Rom Walton
715e0b2bb8
VBOX: When starting a VM, include its name and slot number in the stderr text.
2014-11-23 12:47:34 -05:00
Rom Walton
b2c9ab132b
VBOX: Make the conditions for one type of error case a bit clearer.
2014-11-23 12:47:33 -05:00
Rom Walton
017ac68c55
VBOX: last_checkpoint_cpu_time != last_checkpoint_elapsed_time. When to checkpoint is based on elapsed time, what we reported to boinc is the cpu time. Keep track of both values.
2014-11-23 12:47:32 -05:00