File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4029,7 +4029,8 @@ private Answer migrateVolume(MigrateVolumeCommand cmd) {
40294029 Integer sourceHardwareVersion = HypervisorHostHelper .getHostHardwareVersion (hyperHost );
40304030 Integer destinationHardwareVersion = HypervisorHostHelper .getHostHardwareVersion (dsHost );
40314031 if (sourceHardwareVersion != null && destinationHardwareVersion != null && !sourceHardwareVersion .equals (destinationHardwareVersion )) {
4032- hardwareVersion = String .valueOf (Math .min (sourceHardwareVersion , destinationHardwareVersion ));
4032+ hardwareVersion = VirtualMachineMO .getVmxFormattedVirtualHardwareVersion (
4033+ Math .min (sourceHardwareVersion , destinationHardwareVersion ));
40334034 }
40344035 }
40354036 s_logger .info ("Create worker VM " + vmName );
You can’t perform that action at this time.
0 commit comments