std::deque<VirtualMachineImpl*> VirtualMachineImpl::allVms_;
-s4u::Host* VMModel::createVM(const char* name, s4u::Host* host_PM)
-{
- return new s4u::VirtualMachine(name, host_PM);
-}
-
/* In the real world, processes on the guest operating system will be somewhat degraded due to virtualization overhead.
* The total CPU share these processes get is smaller than that of the VM process gets on a host operating system. */
// const double virt_overhead = 0.95;
/* Free the cpu_action of the VM. */
XBT_ATTRIB_UNUSED int ret = action_->unref();
xbt_assert(ret == 1, "Bug: some resource still remains");
+
+ delete piface_->pimpl_cpu;
}
e_surf_vm_state_t VirtualMachineImpl::getState()