Commit Graph

756 Commits

Author SHA1 Message Date
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
David Anderson 317dc915b0 wrapper: let job.xml specify the process priorities of sub-tasks
Add optional <priority>N</priority> to <task> element to job.xml.
Lets you specify the process priority of the task;
in particular, task can run at high priority.
Apparently this is needed to make bitcoin ASIC apps perform well.
2014-10-13 11:35:16 -07:00
David Anderson 0f65225da8 wrapper (Win): fix possible bug in prioritizing child process 2014-10-12 11:42:19 -07:00
David Anderson 385e06562a wrapper: set process priority of tasks, not thread priority. 2014-10-09 14:46:10 -07:00
David Anderson 8d849304d2 wrapper: fix Win compile warnings 2014-10-09 12:32:59 -07:00
David Anderson 1cb8585ec0 wrapper: add <no_priority_change> task option; run task at normal priority 2014-10-09 12:27:10 -07: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
David Anderson 64184333a7 wrapper: comment tweak 2014-07-16 19:28:33 -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