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 @@ -3590,7 +3590,8 @@ private Answer migrateVolume(MigrateVolumeCommand cmd) {
35903590 Integer sourceHardwareVersion = HypervisorHostHelper .getHostHardwareVersion (hyperHost );
35913591 Integer destinationHardwareVersion = HypervisorHostHelper .getHostHardwareVersion (dsHost );
35923592 if (sourceHardwareVersion != null && destinationHardwareVersion != null && !sourceHardwareVersion .equals (destinationHardwareVersion )) {
3593- hardwareVersion = String .valueOf (Math .min (sourceHardwareVersion , destinationHardwareVersion ));
3593+ hardwareVersion = VirtualMachineMO .getVmxFormattedVirtualHardwareVersion (
3594+ Math .min (sourceHardwareVersion , destinationHardwareVersion ));
35943595 }
35953596 }
35963597 s_logger .info ("Create worker VM " + vmName );
You can’t perform that action at this time.
0 commit comments