public void RemoveMigratingInVm(Vm vm) { VmDeallocate(vm); VmsMigratingIn.Remove(vm); VmList.Remove(vm); VmScheduler.VmsMigratingIn.Remove(vm.Uid); vm.InMigration = false; }
public void VmDestroy(Vm vm) { if (vm != null) { VmDeallocate(vm); VmList.Remove(vm); vm.Host = null; } }