diff options
-rw-r--r-- | core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuPciPassthrough.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuPciPassthrough.java b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuPciPassthrough.java index 1a20448f..798ddfec 100644 --- a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuPciPassthrough.java +++ b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/configuration/TransformationSpecificQemuPciPassthrough.java @@ -199,6 +199,9 @@ public class TransformationSpecificQemuPciPassthrough final List<HostdevPciDeviceAddress> pciDeviceAddresses = TransformationSpecificQemuPciPassthrough .validateParseNvidiaPciIds( args.getVmNvGpuIds0() ); + if ( pciDeviceAddresses.isEmpty() ) + return; // Nothing to do + // check if IOMMU support is available on the host if ( !this.getCapabilities().hasHostIommuSupport() ) { final String errorMsg = "IOMMU support is not available on the hypervisor but required for GPU passthrough!"; |