Commit Graph

1148 Commits

Author SHA1 Message Date
Charlie Fenton 4e48eb05de Mac wrapper: build Universal M1 / x86_64 binary 2022-08-19 03:49:07 -07:00
computezrmle 35b4d7b02d
[vboxwrapper] Replace sprintf with snprintf 2022-08-04 11:25:55 +02:00
computezrmle 5b44ed2e60
Cancel previous change 2022-07-31 21:20:03 +02:00
computezrmle 57d6556b9e
Avoid an enless loop condition 2022-07-31 19:31:50 +02:00
computezrmle 89cd1148b7
Ensure correct logging
Enables logging if loop is executed a 2nd time.
2022-07-31 17:34:50 +02:00
computezrmle 5347c8068c
Print a reminder to use unique UUIDs
Setting a new disk UUID is a temporary workaround to avoid a task getting cancelled.
Since it modifies the vdi file BOINC client will sooner or later download a fresh vdi copy from the server.

For a permanent solution the project admin has to ensure each vdi file has a unique UUID before it is used for an app_version.
2022-07-28 09:20:22 +02:00
computezrmle ad944a656b
mitigate possible VirtualBox bug
Workaround for errors like this:

VBoxManage.exe: error: Cannot attach medium 'D:\Boinc1\projects\lhcathomedev.cern.ch_lhcathome-dev\ATLAS_vbox_1.14_image.vdi': the media type 'MultiAttach' can only be attached to machines that were created with VirtualBox 4.0 or later
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "AttachDevice(Bstr(pszCtl).raw(), port, device, DeviceType_HardDisk, pMedium2Mount)" at line 776 of file VBoxManageStorageController.cpp
2022-07-26 07:08:45 +02:00
computezrmle b30e3a0951
mitigate possible VirtualBox bug
Workaround for errors like this:

VBoxManage.exe: error: Cannot attach medium 'D:\Boinc1\projects\lhcathomedev.cern.ch_lhcathome-dev\ATLAS_vbox_1.14_image.vdi': the media type 'MultiAttach' can only be attached to machines that were created with VirtualBox 4.0 or later
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "AttachDevice(Bstr(pszCtl).raw(), port, device, DeviceType_HardDisk, pMedium2Mount)" at line 776 of file VBoxManageStorageController.cpp
2022-07-26 07:08:40 +02:00
computezrmle c283521107
extend the vboxmanage sleep interval 2022-07-23 10:37:58 +02:00
computezrmle 30660b16ac
Cleanup disk registration
VirtualBox occasionally moves the disk registration entry to the global media store in VirtualBox.xml.
In this case the disk entry must completely be removed and reattached.
Otherwise the disk can't be attached as multiattach parent.
2022-07-23 10:37:57 +02:00
computezrmle 40399f9ec0
Modify logging related to UUID change
The "expected error" (UUID already in use) should not be logged.
All unexpected errors should be logged.
2022-07-13 10:40:41 +02:00
computezrmle 3ad3bdd64e
Update vbox_vboxmanage.cpp
- replace "list hdds" with "showhdinfo"
- add function to automatically generate a new disk UUID
2022-07-11 20:26:42 +02:00
Tal Regev 5190a61241
Compile wasm with html 2022-06-11 21:25:16 +03:00
Vitalii Koshura 779b451815
Merge pull request #4378 from talregev/TalR_boinc_wasm
[Webassembly] Compile boinc client as webassembly
2022-06-09 16:12:17 +02:00
Tal Regev 32b9ccfe1d
Compile boinc as webassembly 2022-06-09 16:05:47 +03:00
Charlie Fenton aa2297e9dc Updat for Xcode 13: Mac VBoxWrapper build script & Xcode project 2022-06-09 04:21:46 -07:00
Tal Regev 02d4519032
Fix condor app for ubuntu 22.04 2022-05-01 18:08:27 +03:00
Vitalii Koshura fbe3449e8e
Remove outdated files
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-04-28 18:07:26 +02:00
Tal Regev f694ca6f12
linux apps compile gui with vcpkg 2022-04-23 12:54:08 +03:00
Vitalii Koshura c72b73446e
[vboxwrapper] Get rid of COM implementation in favor of more stable generic implementation
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2022-03-03 20:15:41 +01:00
Vitalii Koshura ecdad90b10
Merge pull request #4646 from computezrmle/change_error_message
Change error message
2022-02-22 14:39:43 +01:00
Vitalii Koshura c347a42876
Merge pull request #4632 from computezrmle/default_disk_controller
Make sata/IntelAHCI the default virtual disk controller
2022-02-22 14:07:35 +01:00
Vitalii Koshura 1efd5aaa69
Merge pull request #4631 from computezrmle/forward_rtcuseutc
forward rtc setting from host to guest
2022-02-22 13:23:13 +01:00
computezrmle f6c77a5c90
Merge branch 'master' into default_disk_controller 2022-02-22 11:01:15 +01:00
Vitalii Koshura 7e3d1ea0c0
Merge pull request #4630 from computezrmle/increase_vbox_vram
Configure more vram to avoid VMs get stuck during boot
2022-02-22 09:58:30 +01:00
computezrmle 4929fadb04
Change error message
A volunteer recently complained it's bad English because it's past tense instead of present tense.
2022-02-21 14:01:21 +01:00
computezrmle 4da102a20d
Make sata/IntelAHCI the default virtual disk controller 2022-02-09 08:51:33 +01:00
computezrmle 9acaada1ca
forward rtc setting from host to guest 2022-02-08 21:04:02 +01:00
computezrmle 7105ca622d
forward rtc setting from host to guest 2022-02-08 21:00:28 +01:00
computezrmle 189c76f909
Tweak the VM's Graphics Controller Options 2022-02-07 11:51:01 +01:00
computezrmle 8329b80033
increase vram for vbox tasks 2022-02-07 11:50:32 +01:00
computezrmle 31431b566a
increase vram for vbox tasks 2022-02-07 11:44:24 +01:00
computezrmle 88cbbbe29b
Update vbox_vboxmanage.cpp
Output from "vboxmanage -q list hdds" contains paths that are compared with the path of a file.
Linux uses "/" as preferred directory separator while Windows uses "\".
This patch ensures the compare delivers the same result on both platforms.
2022-01-17 07:16:07 +01:00
computezrmle 28eaa41f86
Merge pull request #3 from computezrmle/patch-4
Add code to use VirtualBox differencing images
2022-01-13 14:07:02 +01:00
computezrmle d8f2921f57
Merge pull request #1 from computezrmle/patch-2
Introduce tag <multiattach_vdi_file>
2022-01-13 14:06:07 +01:00
computezrmle 42d5d87fb3
Add code to use VirtualBox differencing images
Required in connection with feature request #4602
2022-01-13 12:43:19 +01:00
computezrmle 03b93fe287
Introduce tag <multiattach_vdi_file>
Required in connection with feature request #4602
2022-01-13 12:43:10 +01:00
computezrmle 5575815953
Introduce tag <multiattach_vdi_file>
Required in connection with feature request #4602
2022-01-13 12:42:52 +01:00
Tal Regev 406339eccd
Fix linux dependencies in ci. 2021-12-18 12:14:14 +02:00
Tal Regev 64f3fd3be3
Add flutter desktop and mobile platforms to boinc app.
ci for windows, linux, macos, web, winuwp, android and ios.
2021-11-27 16:40:07 +02:00
barton26 4ee2403752 fix typos I missed 2021-10-12 03:04:25 -04:00
barton26 9e5ff22dfd
Merge branch 'BOINC:master' into spelling 2021-10-11 03:55:52 -04:00
barton26 249b9baa27 Packages + Samples typos 2021-10-06 14:42:17 -04:00
barton26 d22ed53f6a Remove semicolons in python code 2021-10-01 00:23:26 -04:00
Tal Regev 03011e8f30
Add mingw apps_gui 2021-08-16 21:56:56 +03:00
Tal Regev a67e4e6531
Compile gui apps for linux. 2021-08-16 20:56:39 +03:00
Tal Regev 3342d0c3d8
Compile mingw apps 2021-08-16 18:43:11 +03:00
Tal Regev c4780563b4 Arrange apps makefiles 2021-04-10 11:02:39 +03:00
Vitalii Koshura 6bffda0485
Merge pull request #4309 from talregev/TalR_compile_with_vcpkg
[Android][vcpkg] Compile android with vcpkg
2021-04-10 02:00:42 +02:00
Tal Regev e01073d585 Compile android with vcpkg (rappture, curl and openssl) 2021-04-10 01:41:57 +03:00