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)) {
6610
-
thrownewInvalidParameterValueException(String.format("Unable to migrate storage of non-user VMs for hypervisor [%s]. Operation only supported for the following"
@@ -7318,8 +7305,11 @@ public VirtualMachine migrateVirtualMachineWithVolume(Long vmId, Host destinatio
7318
7305
thrownewInvalidParameterValueException("Live Migration of GPU enabled VM is not supported");
7319
7306
}
7320
7307
7321
-
if (!VM_STORAGE_MIGRATION_SUPPORTING_HYPERVISORS.contains(vm.getHypervisorType())) {
7322
-
thrownewInvalidParameterValueException(String.format("Unsupported hypervisor: %s for VM migration, we support XenServer/VMware/KVM only", vm.getHypervisorType()));
7308
+
if (!vm.getHypervisorType().isFunctionalitySupported(Functionality.VmStorageMigration)) {
7309
+
thrownewInvalidParameterValueException(
7310
+
String.format("Unsupported hypervisor: %s for VM migration, we support [%s] only",
0 commit comments