diff options
| author | Simon Rettberg | 2025-10-01 11:22:54 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-10-01 11:22:54 +0200 |
| commit | 816968cce114e06f03d2fbf411c4d3859fda498c (patch) | |
| tree | ac9d103dc0c2fa61c6598e6a8a12dce34e3fbb42 | |
| parent | [run-virt] Linux scripts: BIG FAT WARNING viewable in ~/PERSISTENT if network... (diff) | |
| download | mltk-816968cce114e06f03d2fbf411c4d3859fda498c.tar.gz mltk-816968cce114e06f03d2fbf411c4d3859fda498c.tar.xz mltk-816968cce114e06f03d2fbf411c4d3859fda498c.zip | |
[qemu] Improve error messages
| -rw-r--r-- | core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuArchitecture.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuArchitecture.java b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuArchitecture.java index 48426ac7..f5e880b6 100644 --- a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuArchitecture.java +++ b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuArchitecture.java @@ -224,7 +224,7 @@ public class TransformationSpecificQemuArchitecture throw new TransformationException( "OS type is not specified!" ); } else { if ( !sourceOsType.toString().equals( targetGuest.getOsType().toString() ) ) { - throw new TransformationException( "OS type is not supported by the virtualizer!" ); + throw new TransformationException( "OS type '" + sourceOsType + "' is not supported by the virtualizer!" ); } } @@ -246,7 +246,7 @@ public class TransformationSpecificQemuArchitecture // check supported domain type if ( targetDomainType == null ) { - throw new TransformationException( "Source domain type is not supported by the virtualizer!" ); + throw new TransformationException( "Source domain type '" + sourceDomainType + "' is not supported by the virtualizer!" ); } } |
