Rom Walton
2ea0d42755
VBOX: Cleanup the boundary between what is hypervisor specific and what is generic.
2013-11-20 08:42:54 -05:00
Rom Walton
3bfcef250e
VBOX: Effectively remove the retry logic when commands fail because of a session lock error. They still happen and nobody has reported a difference in pace rates because of it.
2013-11-19 10:04:19 -05:00
Rom Walton
2e680b7541
VBOX: Another fix
2013-11-15 00:06:08 -05:00
Rom Walton
061f05da28
VBOX: Another fix.
2013-11-15 00:02:30 -05:00
Rom Walton
3ad98e171a
VBOX: Language cleanup
2013-11-14 23:57:15 -05:00
Rom Walton
2f6b63cd8f
VBOX: Log a detection entry if vboxwrapper needed to configure the environment to handle BOINC running as a service/daemon.
2013-11-13 15:27:55 -05:00
Rom Walton
72352253b5
VBOX: Close previous handle to prevent a resource leak.
2013-11-10 10:01:03 -05:00
Rom Walton
f75393669f
VBOX: Move the launch_vboxsvc() code around so that it can be called before any vboxmanage calls are made. Apparently there are conditions where vboxsvc will shut itself down when we don't expect it too.
2013-11-10 09:19:52 -05:00
Rom Walton
d67e0b3225
VBOX: When launching vboxsvc.exe, omit the -Embedded parameter which sets it up to shut itself down after being idle for so many seconds. This can lead to errors during suspend/resume operations. At some point we should have the core client clean it up.
2013-11-09 16:00:23 -05:00
Rom Walton
88436195d9
VBOX: Fix the trickle up mechanism.
2013-11-09 10:16:44 -05:00
Rom Walton
5d4e3320ac
VBOX: Manage the VirtualBox home directory initialization from the initialize function and just reuse it as needed.
2013-11-08 18:02:12 -05:00
Rom Walton
75436e0935
VBOX: Fix client version detection.
2013-11-08 15:10:55 -05:00
Rom Walton
b83f6e4549
VBOX: Add logging in case of a trickle-up failure.
2013-11-07 22:47:44 -05:00
Rom Walton
88342a7898
VBOX: Adjust the VM process priority right before a suspend command to speed up how quickly the VM is suspended.
2013-11-06 22:48:16 -05:00
Rom Walton
2d781448cd
VBOX: Use the same technique for calculating when to report a trickle as we use for performing checkpoints.
...
Deleting previous checkpoints take progressively longer the longer the VM has been running. The previous method just added 1 second of elapsed time to a variable instead of the real amount of wall clock time to the variable.
2013-11-06 18:14:04 -05:00
Rom Walton
9f7fafa1f3
VBOX: Add a trickle-up status report entry to stderr.txt every time we send a trickle event.
2013-11-06 15:45:58 -05:00
Rom Walton
8f11da3bc3
VBOX: Add VirtualBox 4.3.0 to bad builds list.
2013-11-06 15:42:21 -05:00
Rom Walton
ecd573fb7e
VBOX: We only need to filter the vboxmanage output in one place.
2013-11-06 12:57:12 -05:00
Rom Walton
24686b1c35
VBOX: Add additional check to determine if the get VM log command really failed.
2013-11-06 12:53:17 -05:00
David Anderson
438cd78b13
Remote job submission: add C++ APIs for query_batches() and query_batch()
...
- Add program (tools/remote_submit_test.cpp) for testing C++ API for remote job submission.
- Rename Condor-specific API to query_batch_set().
2013-10-22 15:27:34 -07:00
Rom Walton
3ec027d738
VBOX: Adjust the VM priority class to the idle priority class on Windows. I only vaguely remember a warning from Frank about the realtime clock possibly falling out of alignment between guest/host operating systems. We may have to switch it back if the guest OS panics or something like that.
2013-10-22 14:47:20 -04:00
David Anderson
03cc6849c7
remote job submission: add C++ interface to estimate_batch function
2013-10-21 23:40:30 -07:00
David Anderson
8e8adf46b9
Condor interface: bug fixes.
2013-10-17 22:38:22 -07:00
Rom Walton
09933f9dbe
VBOX: Fix build break
2013-10-17 15:13:47 -04:00
Rom Walton
30e1afda1b
VBOX: Disable hardware acceleration support when running under a hypervisor. Needed for nested VM executions on various grids.
2013-10-17 10:36:56 -04:00
Rom Walton
47deac1c3d
VBOX: Remove the virtual disk images from the host I/O cache for all controller types.
2013-10-11 01:07:35 -04:00
Rom Walton
ff71954c18
VBOX: Disable host I/O caching when using a SATA disk controller and limit the disk controller to one port to reduce the noise in the hypervisor log.
2013-10-10 20:49:57 -04:00
David Anderson
9d07555ce3
Condor: bug fix to BOINC GAHP, from Jaime
2013-10-09 12:43:40 -07:00
David Anderson
7336bfd9ba
Remote job submission, C++ API: simplify
2013-10-08 17:36:45 -07:00
Rom Walton
2baaa7da9f
VBOX: Enable the use of hardware acceleration on single core machines.
...
This requires BOINC 7.2.18 or better and for BOINC to have not have detected VM extensions being disabled in the BIOS.
T4T has stopped handing out multi-core work. Disabling the use of hardware extensions on a machine that supports them might be leading to performance problems for other VMs running on the same machine.
2013-10-04 00:30:40 -04:00
Rom Walton
3484d1b110
VBOX: Add 4.2.18 to the incompatible list
2013-10-03 13:19:46 -04:00
Rom Walton
f318ee9959
VBOX: Add code to vboxwrapper to bubble up out of memory errors for guest VM applications to the server.
2013-10-03 12:59:04 -04:00
Rom Walton
d62133047a
VBOX: Bug fix from Christian Beer.
2013-10-03 11:04:48 -04:00
Rom Walton
00e0e16178
VBOX: One more round of bug fixes for vboxmonitor
2013-10-02 20:31:44 -04:00
Rom Walton
c718b8da0f
VBOX: Bug fixes and general enhancements for vboxmonitor
2013-10-02 20:25:53 -04:00
Rom Walton
a6472f472e
VBOX: Introduce a simple utility that will append whatever the desired text is to the VM Guest log which is reported back to the server in case of error.
2013-10-02 19:38:50 -04:00
Rom Walton
c02fca7247
VBOX: Show which VM image was selected when registering the VM.
2013-09-28 13:10:25 -04:00
Rom Walton
440dafed46
VBOX: Re-enable vm image selection. (use command line instead of job file)
2013-09-28 13:07:24 -04:00
Rom Walton
37db65907c
VBOX: Base the VM name on the MD5 hash of the result name instead of the slot id.
2013-09-20 11:18:41 -04:00
Rom Walton
4820cb5436
VBOX: Make sure the startup banner and feature dump happen after the boinc_init_options call so that stderr is redirected.
2013-09-20 10:09:14 -04:00
Rom Walton
433edcf847
wrapper: Simplify error reporting paths.
2013-09-18 18:21:40 -04:00
Rom Walton
ecba0e9d73
wrapper: CreateFile returns INVALID_HANDLE_VALUE when something fails instead of NULL.
2013-09-18 16:59:17 -04:00
Rom Walton
cbf76dd0b0
wrapper: fix build break on Windows
2013-09-18 16:19:38 -04:00
Rom Walton
ff7e173690
wrapper: Use _get_osfhandle() to determine the OS handle for stdout/stderr. Redirect child processes stdout to the wrapper's stderr pipe.
2013-09-18 15:57:38 -04:00
Rom Walton
d54c49853c
VBOX: Be a bit more defensive and set all the state flags anytime the VM state is polled.
2013-09-18 15:00:30 -04:00
Rom Walton
d3ef1aa8c2
VBOX: Possible bug fix for a bug Christian Beer reported where the VM successfully shuts down but the wrapper treats it as a crash.
2013-09-18 14:53:51 -04:00
Rom Walton
2e701bafe6
VBOX: Base the VM name off of the slot directory ID to prevent path length errors on Windows for projects with really long task names. Set the description of the VM to the task name.
2013-09-18 14:45:52 -04:00
Rom Walton
7fb2c00289
WRAPPER: Simplify the task run logic for Windows. Display the actual command line used by CreateProcess.
2013-09-18 13:09:56 -04:00
Rom Walton
93001d48db
wrapper: Adjust how cmd.exe is launched when the task launches a batch file. Support the cmd file extension as well.
2013-09-18 12:00:46 -04:00
David Anderson
3e21e8b7c4
Condor: debug set_expire_time RPC
2013-09-17 23:14:57 -07:00