summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src
diff options
context:
space:
mode:
authorManuel Bentele2022-02-14 11:49:24 +0100
committerManuel Bentele2022-02-14 11:49:24 +0100
commit1772f2938de9254c3d201fcbb3181363b15ae93f (patch)
tree6ded4f0a597d3d5338ba7a6a79308fde1725b193 /dozentenmodul/src
parent[SERVER] Downgrade Maven assembly plugin for Java 8 compatibility (diff)
downloadtutor-module-1772f2938de9254c3d201fcbb3181363b15ae93f.tar.gz
tutor-module-1772f2938de9254c3d201fcbb3181363b15ae93f.tar.xz
tutor-module-1772f2938de9254c3d201fcbb3181363b15ae93f.zip
[CLIENT] Do not adjust QEMU VM firmware on Windows platforms
Diffstat (limited to 'dozentenmodul/src')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java
index af951d47..50fee151 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java
@@ -93,7 +93,7 @@ public class VmWrapper {
} catch (Exception e) {
Gui.asyncMessageBox("Konnte das BIOS für die VM nicht kopieren", MessageType.ERROR, LOGGER, e);
}
- } else if ( virtualizationConfig instanceof VirtualizationConfigurationQemu ) {
+ } else if ( virtualizationConfig instanceof VirtualizationConfigurationQemu && OsHelper.isLinux() ) {
try {
final VirtualizationConfigurationQemu virtualizationConfigQemu = VirtualizationConfigurationQemu.class
.cast( virtualizationConfig );