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
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
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
9849b0005a
Samples: Add Macintosh build instructions for example app (uppercase), VBoxWrapper and Wrapper
2015-04-14 07:34:42 -07:00
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
Rom Walton
660ade42bb
VBOX: When deregistering a VM, organize the medium list by most recent child first and then release as needed.
2014-11-23 12:47:32 -05:00
Rom Walton
56bfdd7ec9
VBOX: Use the same COM classes for consistency.
2014-11-23 12:47:31 -05:00
Rom Walton
3941d5153c
VBOX: Hookup COM support for both VirtualBox 4.2 and VirtualBox 4.3. It appears to be working.
2014-11-23 12:47:30 -05:00
Rom Walton
62578717e4
VBOX: Duplicate symbols have been removed from the link step.
2014-11-23 12:47:29 -05:00
Rom Walton
58ba52954a
VBOX: Source was a useful piece of information to dump.
2014-11-23 12:47:29 -05:00
Rom Walton
bf0b56c073
VBOX: Introduce the notion of Virtualbox COM namespaces. We currently support VirtualBox 4.2 and VirtualBox 4.3.
2014-11-23 12:47:05 -05:00
Rom Walton
6fcf9cbb5f
VBOX: Rename mscom to mscom43 to show that it contains VirtualBox 4.3 COM Interface files.
2014-11-23 12:47:03 -05:00
Rom Walton
a08f521036
VBOX: Add VirtualBox 4.2 COM Interface files
2014-11-23 12:47:02 -05:00
Rom Walton
8d6d54434b
VBOX: Do not attempt to restore the current snapshot if the VM hasn't been running long enough to generate one.
2014-11-23 12:47:01 -05:00
Rom Walton
31603fae79
VBOX: If something fails during create_vm(), we must release the write lock before deregister_vm() is called. Handle machine and session cleanup at the end if the routine.
2014-11-23 12:47:00 -05:00
Rom Walton
785c133882
VBOX: Actually wait for the VM to shutdown before doing anything drastic.
2014-11-23 12:46:59 -05:00
Rom Walton
7c0fa017ef
VBOX: Update error dump function with ATL Wrapper classes.
2014-11-23 12:46:59 -05:00
Rom Walton
e9acbfc8a8
VBOX: Cleanup some edge cases discovered while running T4T jobs with anon platform.
2014-11-23 12:46:58 -05:00
Rom Walton
fa325188fe
VBOX: Bug fixes related to running T4T jobs
2014-11-23 12:46:58 -05:00
Rom Walton
59152902b0
VBOX: Convert cleanup_snapshots() and various bug fixes
2014-11-23 12:46:57 -05:00
Rom Walton
56aeda1233
VBOX: Convert deregister_vm(), deregister_stale_vm()
2014-11-23 12:46:56 -05:00
Rom Walton
03a4fe3280
VBOX: Convert is_extpack_installed(), is_hdd_registered(), restore_snapshot(), create_snapshot()
2014-11-23 12:46:56 -05:00
Rom Walton
481a9fcb54
VBOX: Convert is_system_ready(), set_cpu_usage(), set_network_usage()
2014-11-23 12:46:55 -05:00
Rom Walton
78ca154407
VBOX: Fix get_default_network_interface()
2014-11-23 12:46:55 -05:00
Rom Walton
2f51aec2e2
VBOX: Convert create_vm()
2014-11-23 12:46:54 -05:00
Rom Walton
bb0e905bd7
VBOX: Convert get_vm_network_bytes_sent() and get_vm_network_bytes_received()
2014-11-23 12:46:53 -05:00
Rom Walton
2f79a92b5c
VBOX: Add a flag for GBAC functionality.
2014-11-23 12:46:53 -05:00
Rom Walton
b739badb44
VBOX: Write a stderr message when BOINC is notified about a web application for a particular task.
2014-11-23 12:46:52 -05:00
Rom Walton
fb98a4c644
VBOX: Guest additions may not be available on all hosts. If not found, skip it.
2014-11-23 12:46:52 -05:00
Rom Walton
5037444962
VBOX: Introduce the notion of a temporary exit trigger file.
...
When the file is detected, the wrapper will call boinc_temporary_exit() and restart the VM at a later date.
2014-11-23 12:46:51 -05:00
Rom Walton
810047d4eb
VBOX: Move common code to VBOX_BASE class, VBOX_VM derives from it by extending virtual functions calling Vboxmanage or Native API functions. Use ATL on Windows to wrap COM Objects and data types.
2014-11-23 12:46:28 -05:00
Rom Walton
72fd80a203
VBOX: Move common code to VBOX_BASE class, VBOX_VM derives from it by extending virtual functions calling Vboxmanage or Native API functions. Use ATL on Windows to wrap COM Objects and data types.
2014-11-23 12:45:03 -05:00
Rom Walton
c399c433f6
VBOX: Update set_network_access(), get_guest_additions(), and get_version_information()
2014-11-23 12:43:56 -05:00
Rom Walton
91b236a6a9
VBOX: Fix missing error codes for newly converted functions.
2014-11-23 12:43:56 -05:00
Rom Walton
dbcff881d5
VBOX: Finish start function and complete the poll function.
2014-11-23 12:43:55 -05:00
Rom Walton
557c15dbf0
VBOX: Begin refactoring for supporting the native VirtualBox API set on Windows. Use the code in the deprecated directory as a baseline.
2014-11-23 12:43:35 -05:00
Rom Walton
97b9d947b8
VBOX: Add a flag for GBAC functionality.
2014-10-24 11:54:11 -04:00
Rom Walton
f8dbde1dbf
VBOX: Write a stderr message when BOINC is notified about a web application for a particular task.
2014-10-22 15:35:56 -04:00
Rom Walton
a8a6eab086
VBOX: Unify port forwarding scheme for web applications within VMs.
2014-10-22 12:05:18 -04:00
Rom Walton
609a2924b3
VBOX: Guest additions may not be available on all hosts. If not found, skip it.
2014-10-20 10:07:16 -04:00
Rom Walton
3919da9524
VBOX: Introduce the notion of a temporary exit trigger file.
...
When the file is detected, the wrapper will call boinc_temporary_exit() and restart the VM at a later date.
2014-10-14 13:09:12 -04:00
Rom Walton
197a98f80a
VBOX: Add the COM Interface files for use on Windows
2014-10-04 09:58:47 +02:00
Rom Walton
b781e409f9
VBOX: Add support for intermediate uploads
2014-10-03 10:03:11 +02:00
Attila Csaba Marosi
456b008773
VBOX: GBAC main files added
2014-10-02 16:28:23 +02:00
Rom Walton
6518dddabd
VBOX: Attempt to fix a possible crash seen on T4T with an incompatible version of VirtualBox running on Linux.
2014-10-01 14:15:29 +02:00
Rom Walton
91cbe26810
VBOX: Try and prevent vboxwrapper from starting the VM if BOINC has signaled boinc_status.quit_requit or boinc_status.no_heartbeat.
2014-09-30 09:34:16 +02:00
Rom Walton
e5a4f0345d
VBOX: Always report the completion message.
2014-09-24 13:34:22 -04:00
Rom Walton
e1da8323bd
VBOX: Bubble up completion file notices to the client software.
2014-09-24 13:18:38 -04:00
Rom Walton
99c8c678dd
VBOX: Make the VM memory size something that can be overridden via the command line.
...
TODO: Refactor how command line options and vbox_job.xml options are handled. This was a ugly hack.
2014-09-24 13:06:05 -04:00
Rom Walton
c0c70fd82d
VBOX: Make the guest additions available to all VMs. This does not mean the VM will use them, but they will be available.
2014-09-20 12:53:44 -04:00
Rom Walton
8621a2ca03
VBOX: Do not disable the host I/O cache for virtualized disk controllers that do not support async I/O within VirtualBox.
2014-09-16 17:46:42 -04:00
Rom Walton
c768866118
VBOX: Look for the fraction done file in the shared directory by default
2014-09-15 17:21:11 -04:00
Rom Walton
9c80adb5a1
VBOX: Initialize completion file values before parsing.
2014-09-12 11:50:22 -04:00
Rom Walton
17cef8372c
VBOX: Increase the buffer used for parsing 'Guest Log:' entries from 8k to 16k.
2014-09-12 11:29:41 -04:00
Rom Walton
afd34b8072
VBOX: Check for the completion file regardless if the VM is running or not.
2014-09-12 11:18:43 -04:00
Rom Walton
952c064f18
* Fix version resource information for wrapper and vboxwrapper.
...
(From: Teemu Mannermaa)
2014-09-08 12:37:15 -04:00
Rom Walton
837948ff24
VBOX: Use the 'Name' field instead of the internal virtualbox name for the default network interface.
2014-08-22 15:22:39 -04:00
Rom Walton
4b60c60fa8
VBOX: When the bridged network option is selected, don't forget to set which network interface it is supposed to bridge with.
2014-08-22 14:18:53 -04:00
Rom Walton
498a3b79ae
VBOX: Fix typo
2014-08-20 10:35:19 -04:00
David Anderson
e55297a8f0
vboxwrapper: change option name to "network_bridged_mode"
2014-08-19 19:28:38 -07:00
Rom Walton
188a13b2fb
VBOX: Rename bridged_mode to enable_network_bridged_mode.
...
VBOX: Set the network configuration at VM creation time. set_network_access() is called whenever the network is suspended or resumed. It'll cause multiple DHCP requests to be spawned on a network resume.
2014-08-19 14:48:10 -04:00
David Anderson
c7aaf64423
vboxwrapper: add <bridge_mode/> otion for bridged mode networking
2014-08-18 20:33:51 -07:00
Rom Walton
0bea6cb296
VBOX: Do not use a VM's XML file to determine valid disk controller combinations, vboxmanage attempts to maintain backwards compatibility so we do not have too.
2014-08-17 21:49:22 -04:00
Rom Walton
d1c28266fa
VBOX: with VirtualBox 4.3 they renamed the 'IntelAHCI' disk controller to 'AHCI'. Automatically adjust depending on the installer version of VirtualBox.
2014-08-14 23:53:01 -04:00
David Anderson
6ab3a999c7
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2
2014-08-13 21:27:57 -07:00
David Anderson
e2e08e313d
vboxwrapper: small code cleanup
2014-08-13 21:27:30 -07:00
Rom Walton
ea6c073082
VBOX: Configure guest VM BOIS so that it can boot off of DVD ISO images.
2014-08-13 16:56:05 -04:00
Rom Walton
355c911d9b
VBOX: If <enable_isocontextualization/> is enabled, update which drive controller to use and attach the guest additions to the VM. This should allow uCernVM to update the guest additions it uses on boot.
2014-08-13 14:15:37 -04:00
Rom Walton
27cc7a8c42
VBOX: Acquire the location of the guest additions for future use.
2014-08-13 13:46:38 -04:00
David Anderson
7ed32661cb
vboxwrapper: fix bug in forwarding multiple ports
2014-08-12 09:18:35 -07:00
Charlie Fenton
b482a8241e
Mac: update VBoxWrapper Xcode project for compatibility (fix compile breaks) with Apple LLVM 5.0 compiler under Xcode 5.
2014-08-11 15:36:45 -07:00
David Anderson
ab9b146054
vboxwrapper: add a general port-forwarding mechanism
...
All vbox_job.xml to specify ranges of port forwardings,
and whether the access to the host ports is remote or local.
This is to support MPI for Rytis.
Notes:
- the existing feature (pf_guest_port) is used only for web graphics.
The host port is always dynamically assigned;
there's no reason to have <pf_host_port>; I removed it from the doc.
There's no reason to write the host port to a file; I removed that.
- The new feature is only for fixed host ports.
- The checkpoint file can stay the way it is.
2014-08-02 23:07:22 -07:00
David Anderson
d43f78f97a
vboxwrapper: compile fix, and error-check kill_program().
...
Note: utility functions like kill_program() should return
BOINC error codes, not Unix codes
2014-07-29 13:19:07 -07:00
Rom Walton
7a9b572fb5
VBOX: If the VM doesn't gracefully shutdown, attempt to terminate it.
2014-07-27 14:11:32 -04:00
David Anderson
b3392bb195
scheduler: fix bug in plan class spec logic
2014-07-25 15:04:04 -07:00
Rom Walton
d80f2e271c
VBOX: Make sure we only check for the VM exit code if we have a valid handle.
2014-07-14 12:26:10 -04:00
Rom Walton
fa7ebdca4e
VBOX: Do not go off the rails if a process handle cannot be obtained for the VM process. Changing process priority of a Virtualbox 4.3.14 VM does not currently work.
2014-07-12 15:27:03 -04:00
Rom Walton
6ad292cbdc
VBOX: resolve build breaks caused by a bad merge.
2014-07-07 16:30:31 -04:00
Rom Walton
d252088210
Add filename to log
...
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
2014-07-07 16:18:54 -04:00
Carlos Aguado Sanchez
acf54750a8
Fix naming scheme for cache and iso
...
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
2014-07-07 16:04:11 -04:00
Rom Walton
a57cbb7987
Add implementation for an extra cache disk
...
This commit adds two extra options:
- enable_cache_disk
- cache_disk_filename
This allows to attach a cache disk image to extend the storage
needs initially provided by the OS image.
In context-based systems such as uCernVM, this image can be
used to store the local cache of artifacs coming from CVMFS.
Note this image is attached without further checking on the content
and is entirely up to the main OS to make good use of it.
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
2014-07-07 16:03:46 -04:00
Rom Walton
56ae3415a4
VBOX: remove unneeded variable
2014-07-07 15:47:31 -04:00
Rom Walton
7ec9e95822
Enable VM contextualization via ISO9660 image
...
This commit allows to attach an ISO9660 image to a vbox VM
from a well-known file. The purpose is to enable the dynamic
configuration of the VM in first boot so that the volunteer VM
can be kept generic. This process is otherwise widely known as
contextualization of virtual machines.
The actual content of the ISO9660 image is application dependent
and outside the scope of this implementation.
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
2014-07-07 15:46:59 -04:00
David Anderson
658547ccf6
wrapper: add --trickle X cmdline option to periodically report runtime
...
Add logic in wrapper to maintain and checkpoint total runtime.
Also vboxwrapper: slight refactor.
Note: we often use "elapsed time" where we mean "runtime".
Should use the latter.
2014-07-04 12:19:31 -07:00
Rom Walton
8821d735a6
VBOX: Fix another typo.
2014-07-03 00:10:53 -04:00
Rom Walton
124223fd41
VBOX: Fix typos in launch_vboxvm() logic. It isn't currently used, but I do want to try and get that working at some point in the future.
2014-07-02 23:41:58 -04:00
Rom Walton
f230391349
VBOX: If recent copies of VirtualBox log files are missing, use the last cached copy of the log file we successfully retrieved for dumping out log data on premature shutdowns.
2014-07-02 19:44:05 -04:00
David Anderson
89b27cabf9
vboxwrapper: temporary change to completion trigger file:
...
pause for 60 seconds before exiting, and don't read trigger file.
For ATLAS@home. Undo when they update their VM.
2014-07-01 23:01:42 -07:00
David Anderson
56c30c8427
vboxwrapper: fix function names to use consistent style.
2014-07-01 13:43:43 -07:00