diff options
-rw-r--r-- | src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationQemuUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationQemuUtils.java b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationQemuUtils.java index 7b1b9bb..86216a0 100644 --- a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationQemuUtils.java +++ b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationQemuUtils.java @@ -34,6 +34,9 @@ public class VirtualizationConfigurationQemuUtils { DriveBusType type = null; + if ( busType == null ) + return null; + switch ( busType ) { case IDE: type = DriveBusType.IDE; |