DaanHoogland commented on a change in pull request #4212:
URL: https://github.com/apache/cloudstack/pull/4212#discussion_r521213403



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -5609,9 +5609,7 @@ public VirtualMachine migrateVirtualMachine(Long vmId, 
Host destinationHost) thr
         }
 
         if (!isOnSupportedHypevisorForMigration(vm)) {
-            if (s_logger.isDebugEnabled()) {
-                s_logger.debug(vm + " is not XenServer/VMware/KVM/Ovm/Hyperv, 
cannot migrate this VM form hypervisor type " + vm.getHypervisorType());
-            }
+            s_logger.error(vm + " is not XenServer/VMware/KVM/Ovm/Hyperv, 
cannot migrate this VM form hypervisor type " + vm.getHypervisorType());

Review comment:
       nit picking: the target host can be specified and small spello
   ```suggestion
               s_logger.error(vm + " is not XenServer/VMware/KVM/Ovm/Hyperv, 
cannot migrate this VM from hypervisor type " + vm.getHypervisorType() + " to 
hypervisor type " + destinationHost.getHypervisorType());
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to