summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Util] add tickCount() methodHEADmasterSimon Rettberg2024-04-081-0/+11
|
* Change random numbers to make error go awaySimon Rettberg2024-02-071-1/+1
| | | | | | | | | | | | | Error on startup of dmsd was: SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details. SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier. SLF4J: Ignoring binding found at [jar:file:/opt/dmsd/dmsd.jar!/org/slf4j/impl/StaticLoggerBinder.class] The two URLs were of little help, but luckily just punching the last line into google lead to this SO post which solves the issue: https://stackoverflow.com/a/75162534/2043481
* [filetransfer] Set state to WORKING when using local copyingSimon Rettberg2024-02-071-0/+3
|
* Thrift: Avoid creating TWrapper for null-clientSimon Rettberg2024-01-161-1/+4
|
* Silence fileserver connection drop spamSimon Rettberg2024-01-161-1/+2
|
* filetransfer: 4s connect timeoutSimon Rettberg2023-09-261-1/+1
|
* filetransfer: Mute exceptionSimon Rettberg2023-09-261-1/+1
|
* [thrift] Add getter for sat ssl contextSimon Rettberg2023-09-221-0/+10
|
* maven: Don't uses brainfucked open intervals for version rangesSimon Rettberg2023-09-211-14/+14
| | | | See https://michakutz.medium.com/d4ba66ac654
* [filetransfer] Don't print stack trace if handshake times outSimon Rettberg2023-09-211-0/+2
|
* [libvirt] If cpu mode is passtrough, pass through cpu cache info as wellSimon Rettberg2023-07-271-0/+7
|
* [virt] Add check if VM is suspended (VMware only currently)Simon Rettberg2023-07-272-4/+17
|
* [libvirt] Fix expression: Wrong variable usedSimon Rettberg2023-07-271-1/+1
|
* [libvirt] Add methods for setting CPU migratable and pinningSimon Rettberg2023-07-264-8/+61
|
* [libvirt] Extend setFeatureKvmHiddenState to fully fool WindowsSimon Rettberg2023-07-261-0/+10
|
* [spice] Switch default port to 59000 to lower risk of collisionSimon Rettberg2023-07-261-1/+1
| | | | 5900 is default for VNC which we use for remote access.
* [filetransfer] Log when hashing/disk write is too slowSimon Rettberg2023-07-112-1/+16
|
* [filetransfer] Also check meta data error string in Up-/Download loopSimon Rettberg2023-07-103-5/+14
|
* [filetransfer] Improve error loggingSimon Rettberg2023-07-103-2/+28
|
* [libvirt] Catch non-critical exception in cleanupSimon Rettberg2023-07-101-14/+5Star
|
* Implement disabling USB in VMsSimon Rettberg2023-06-306-2/+27
|
* [libvirt] Fix buildSimon Rettberg2023-06-281-6/+3Star
|
* [libvirt] Allow setting PCI address on Device levelSimon Rettberg2023-06-264-56/+70
| | | | | | | Devices like video and disk can be PCI Devices and thus have an <address> tag that defines where on the PCI bus it sits. Move the according helper functions for getting/setting this address from HostDevPci up to Device.
* [thrift] Ignore yet another socket exceptionSimon Rettberg2023-06-061-1/+3
|
* BFTP: Shorten thread nameSimon Rettberg2023-05-261-1/+1
| | | | | | | Linux thread names can only be 11 characters, so in order to not truncate thread names in tools such as htop, shorten the thread name a bit so the running ID that gets appended at the end will always fit.
* TBinaryProtocolSafe: Silence more annoying messagesSimon Rettberg2023-05-251-2/+4
|
* BFTP: Minor cleanup, comments, refactorSimon Rettberg2023-05-243-25/+36
|
* ThiriftHelper: Discard connections from pool after idling for too longSimon Rettberg2023-05-231-36/+99
| | | | | This is to avoid problems with firewalls/NATs that discard state after a while and don't send RST packets back to the client.
* Fix 'content is not allowed in prolog'Steffen Ritter2023-05-122-6/+6
| | | | | | | | | | | Switch order of probing the virtualizerconfigs to bypass xml parsing of docker configs which are tgz-archives. We have no good handling of the different config types. VBox and Qemu are xml, vmware is plaintext, docker wraps everything in tgz. Instead of checking we actually just try and hope for the best :(. fixes: #3932
* Actually really properly fix test and handle UUID changes againSimon Rettberg2023-05-123-7/+20
|
* [vbox] Handle the version-dependent StorageControllers path everywhereSimon Rettberg2023-05-122-19/+13Star
|
* vbox: Update testing, UUID replacement hack is not needed anymoreSimon Rettberg2023-05-114-26/+12Star
|
* vbox: Update tests wrt/ expected xml contents after transformationSimon Rettberg2023-05-113-17/+17
|
* vbox: Add special case for older vbox version filesSimon Rettberg2023-05-111-1/+7
|
* [vbox] Implement .transformPrivacy(), remove placeholder codeSimon Rettberg2023-05-102-102/+105
| | | | | | | | | The placeholders aren't being used anymore by the client-side scripts, so we might as well just not add them. The privacy transformation was entirely missing, so add those. We also now filter unused HDDs from the XML's MediaRegistry.
* pom: fix compilation with latest xalanSimon Rettberg2023-05-091-4/+9
|
* Fix formattingSimon Rettberg2023-05-041-62/+68
|
* [libvirt] Reintroduce a very basic sanity check in Domain constructorSimon Rettberg2023-04-262-2/+31
| | | | | | | This is to avoid false positives when we do virtualizer detection by handing the selected config file to every virtualizer class. Currently this should not matter since VBox comes before libvirt, but this might change in the future.
* [qemu] Fix NPESimon Rettberg2023-04-261-0/+3
|
* [libvirt] Remove config validation on constructionSimon Rettberg2023-04-262-21/+10Star
| | | | | Instead, we should do this explicitly after instantiating, so we can give the user the option to ignore this error and proceed.
* [libvirt] Update rng filesSimon Rettberg2023-04-267-126/+268
|
* [thrift] Show source IP address for "payload too big" failsSimon Rettberg2023-03-311-8/+39
|
* thrift wrapper: Only repeat calls if we get a transport/protocol exceptionSimon Rettberg2023-02-241-1/+3
|
* [thrift] Add call for retrieving session data from access tokenSimon Rettberg2023-02-232-1/+1160
|
* NanoHTTPD: Honor client requesting Connection: CloseSimon Rettberg2023-02-211-6/+18
|
* NanoHTTPD: Switch back to growing thread poolSimon Rettberg2023-02-171-3/+3
|
* NanoHTTPD: Add constructor to easily set thread limit and queue lenSimon Rettberg2023-02-141-2/+17
|
* NanoHTTPD: Remove AsyncExecutor, move socket listen to constructorSimon Rettberg2023-02-141-79/+28Star
|
* Add NanoHTTPDSimon Rettberg2023-02-141-0/+1200
| | | | We need it in master-server and dozmod now, don't duplicate the code.
* [libvirt] Remove debug spamSimon Rettberg2023-02-141-4/+0Star
|