Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u::VM: make getState() public, and add a state for destroyed VMs
[simgrid.git] / src / plugins / vm / s4u_VirtualMachine.cpp
index 97d2749..261f63a 100644 (file)
@@ -66,6 +66,10 @@ simgrid::s4u::Host* VirtualMachine::pm()
 {
   return pimpl_vm_->getPm();
 }
+e_surf_vm_state_t VirtualMachine::getState()
+{
+  return pimpl_vm_->getState();
+}
 
 /** @brief Retrieve a copy of the parameters of that VM/PM
  *  @details The ramsize and overcommit fields are used on the PM too */