Commit Graph

799 Commits

Author SHA1 Message Date
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
David Anderson 444dc38a38 vboxmonitor: code format 2014-11-07 14:15:20 -08: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
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