Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the VM-related data out of MSG's private data for hosts
[simgrid.git] / src / s4u / s4u_VirtualMachine.cpp
index 8a8e190..d6d976e 100644 (file)
@@ -24,6 +24,11 @@ VirtualMachine::~VirtualMachine()
   onDestruction(*this);
 }
 
+bool VirtualMachine::isMigrating()
+{
+  return static_cast<surf::VirtualMachineImpl*>(pimpl_)->isMigrating;
+}
+
 /** @brief Retrieve a copy of the parameters of that VM/PM
  *  @details The ramsize and overcommit fields are used on the PM too */
 void VirtualMachine::parameters(vm_params_t params)