diff options
author | Simon Rettberg | 2019-07-03 11:24:04 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-03 11:24:04 +0200 |
commit | 3bf3c716c6f04f497692a35211f8f0bf02de0728 (patch) | |
tree | fe97f12f4d134f1a4dcea1d7a06c6cd583643ded | |
parent | Add Feature entry for USB config (diff) | |
download | master-sync-shared-3bf3c71.tar.gz master-sync-shared-3bf3c71.tar.xz master-sync-shared-3bf3c71.zip |
[vmware] Add usb.mangleUsb3Speed = TRUE if using USB 1.1/2.0
-rw-r--r-- | src/main/java/org/openslx/util/vm/VmwareMetaData.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/util/vm/VmwareMetaData.java b/src/main/java/org/openslx/util/vm/VmwareMetaData.java index 038a10c..c486be2 100644 --- a/src/main/java/org/openslx/util/vm/VmwareMetaData.java +++ b/src/main/java/org/openslx/util/vm/VmwareMetaData.java @@ -596,6 +596,10 @@ public class VmwareMetaData extends VmMetaData<VmWareSoundCardMeta, VmWareDDAcce config.remove( meta.keyName ); } } + // VMware 14+ needs this to use USB 3.0 devices at USB 3.0 ports in VMs configured for < 3.0 + if ( newSpeedMeta.speedNumeric > 0 && newSpeedMeta.speedNumeric < 3 ) { + addFiltered( "usb.mangleUsb3Speed", "TRUE" ); + } } @Override |