You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (vm.getType() != VirtualMachine.Type.User && !HYPERVISORS_THAT_CAN_DO_STORAGE_MIGRATION_ON_NON_USER_VMS.contains(hypervisorType)) {
6722
-
throw new InvalidParameterValueException(String.format("Unable to migrate storage of non-user VMs for hypervisor [%s]. Operation only supported for the following"
@@ -7430,8 +7417,11 @@ public VirtualMachine migrateVirtualMachineWithVolume(Long vmId, Host destinatio
7430
7417
throw new InvalidParameterValueException("Live Migration of GPU enabled VM is not supported");
7431
7418
}
7432
7419
7433
-
if (!VM_STORAGE_MIGRATION_SUPPORTING_HYPERVISORS.contains(vm.getHypervisorType())) {
7434
-
throw new InvalidParameterValueException(String.format("Unsupported hypervisor: %s for VM migration, we support XenServer/VMware/KVM only", vm.getHypervisorType()));
7420
+
if (!vm.getHypervisorType().isFunctionalitySupported(Functionality.VmStorageMigration)) {
7421
+
throw new InvalidParameterValueException(
7422
+
String.format("Unsupported hypervisor: %s for VM migration, we support [%s] only",
0 commit comments