cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/hosts/HostSimple.java
protected void deallocateResourcesOfVm(Vm vm) {
        vm.setCreated(false);
        ramProvisioner.deallocateResourceForVm(vm);
        bwProvisioner.deallocateResourceForVm(vm);
        vmScheduler.deallocatePesFromVm(vm);
        storage.deallocateResource(vm.getStorage());
    }
/**
     * Deallocate all resources that a VM was using.
     *
     * @param vm the VM
     */
Deallocate all resources that a VM was using.
@param vm the VM
Deallocate all resources that a VM was using . @param vm the VM
protected void deallocateResourcesOfVm(Vm vm) {
        vm.setCreated(false);
        ramProvisioner.deallocateResourceForVm(vm);
        bwProvisioner.deallocateResourceForVm(vm);
        vmScheduler.deallocatePesFromVm(vm);
        storage.deallocateResource(vm.getStorage());
    }
protected void deallocateResourcesOfVm ( Vm vm ) { vm . setCreated ( false ) ; ramProvisioner . deallocateResourceForVm ( vm ) ; bwProvisioner . deallocateResourceForVm ( vm ) ; vmScheduler . deallocatePesFromVm ( vm ) ; storage . deallocateResource ( vm . getStorage ( ) ) ; }
Deallocate all resources that a VM was using.
Deallocate all resources that a VM was using .