Commit Graph

25168 Commits

Author SHA1 Message Date
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 f37336a956 client (Android): for os_version, append Android version to Linux version
If the GUI reports the Android version, append it to the Linux version as
2.6.5 (Android 3.1.0)
2014-11-22 15:08:47 -08:00
David Anderson 373d345e0f scheduler: OS version constraints in plan class XML spec for Linux/Android
The OS version# constraints (os_min_version, os_max_version)
were only supported for Win and Mac.
Make them work for Linux and Android too.
Note: for Android, we get the Linux kernel version.
This isn't the same as the Android version, but it may be enough
2014-11-22 13:19:54 -08:00
David Anderson 5094a24ce1 Leiden Classic queuing system: fix security vulnerability 2014-11-22 13:18:03 -08:00
David Anderson 6b9205b3a1 web: fix SQL injection vulnerability in remote job submission
Also cast ID to int in lookup_id.
This isn't a vulnerability AFAIK, but doesn't hurt to be safe
2014-11-21 15:37:40 -08:00
Charlie Fenton cad6475aaa MGR: Updates to Advanced Prefs dialog:
Show web based values as well as local settings.
Add text that BOINC will use the most restrictive of the 3 disk usage settings.
Note: My changes are not yet complete.
2014-11-21 05:32:40 -08:00
David Anderson 21b7b898fa web: fix SQL injection vulnerability 2014-11-20 11:04:22 -08:00
David Anderson b80ea2aa04 client: indicate "high-priority" tasks in event log (if cpu_sched_debug set) 2014-11-19 23:49:51 -08:00
Rom Walton 932d67ea2e android: Set the minSdkVersion to 16 (Android 4.1) and add the position-independent-executable flags for native code build scripts. 2014-11-19 19:34:54 -05:00
Rom Walton a25f864a09 android: Properly report the android version to the core client so it can bubble it up to the server 2014-11-19 19:05:41 -05:00
David Anderson 274b7cd8e3 client/manager: more fixes for WCG attach problem. Should work now. 2014-11-19 00:11:37 -08:00
David Anderson 303a0df53b client: fixes to last commit 2014-11-18 23:11:27 -08:00
David Anderson cce00e4587 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-11-18 22:14:58 -08:00
David Anderson aeac6c01f5 client/manager: fix WCG attach
When I added LDAP support I assumed that an email_addr without
a "@" is an LDAP name.
I forgot that WCG uses user names rather than email addrs.  D'oh!
2014-11-18 21:58:38 -08:00
Rom Walton 2d8d092e3c Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-11-18 16:36:21 -05:00
Rom Walton 0bd6fa7c8a LIB: Remove string type conversion naming conflict with the ATL framework. 2014-11-18 16:35:47 -05:00
David Anderson eafd70ecc6 client: request work from backed-off resources if doing RPC anyway 2014-11-18 00:05:17 -08:00
Charlie Fenton 8fb082beda client: update Mac client to use curl 7.39.0 and openssl 1.0.1j 2014-11-17 16:21:03 -08:00
David Anderson fbc6e40dca Client: fix bug that prevented work fetch for zero-share projects
In work fetch setup, we were computing rsc_project_reason
before doing the round-robin simulation.
It needs to be done after, because it uses the # of idle devices,
which is computed by the simulation.
2014-11-17 13:56:06 -08:00
Charlie Fenton 07ba0a57d7 lib: in procindo_setup() for Mac, do not mark processes as low priority because some processes (e.g., Finder) change priority frequently, which would cause procinfo_non_boinc() and ACTIVE_TASK_SET::get_memory_usage() to get incorrect results for the % CPU used. 2014-11-15 02:54:56 -08:00
David Anderson db501739a6 client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
David Anderson 837f93583d client: skip anonymous platform vbox apps if <dont_use_vbox/> is set
If an anonymous platform app version has a plan class containing "vbox",
and the <dont_use_vbox/> flag is set in cc_config.xml, skip the app version.
2014-11-14 13:01:26 -08:00
David Anderson f548a5ce49 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-11-12 09:59:10 -08:00
David Anderson ecc5ef9496 Assimilator: don't error out if unrecognized args
(app-specific code might parse them)
2014-11-12 09:58:14 -08:00
David Anderson 9b79d9504b client: message tweak 2014-11-12 09:58:00 -08:00
David Anderson b7d15277e1 Client: notice bodies were being XML-escaped one time too many 2014-11-12 01:46:18 -08:00
David Anderson ec9d514ff6 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-11-12 00:47:52 -08:00