Github user abhinandanprateek commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/815#discussion_r102671303
  
    --- Diff: server/src/com/cloud/vm/UserVmManagerImpl.java ---
    @@ -4717,8 +4717,8 @@ public VirtualMachine 
migrateVirtualMachineWithVolume(Long vmId, Host destinatio
             }
     
             // Check if the source and destination hosts are of the same type 
and support storage motion.
    -        if 
(!(srcHost.getHypervisorType().equals(destinationHost.getHypervisorType()) && 
srcHost.getHypervisorVersion().equals(destinationHost.getHypervisorVersion()))) 
{
    -            throw new CloudRuntimeException("The source and destination 
hosts are not of the same type and version. " + "Source hypervisor type and 
version: "
    +        if 
(!(srcHost.getHypervisorType().equals(destinationHost.getHypervisorType()))) {
    +            throw new CloudRuntimeException("The source and destination 
hosts are not of the same type. " + "Source hypervisor type and version: "
    --- End diff --
    
    The Xenserver version on the target host can be same or higher, please see 
if the version check can be further improved.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to