Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get rid of vm->isMigrating()
[simgrid.git] / include / simgrid / s4u / VirtualMachine.hpp
index c4cca14..2ec81c7 100644 (file)
@@ -51,8 +51,6 @@ public:
   void shutdown();
   void destroy();
 
-  bool isMigrating();
-
   simgrid::s4u::Host* getPm();
   void setPm(simgrid::s4u::Host * pm);
   size_t getRamsize();
@@ -60,6 +58,7 @@ public:
   void setBound(double bound);
 
   e_surf_vm_state_t getState();
+  static simgrid::xbt::signal<void(simgrid::s4u::VirtualMachine*)> onVmShutdown;
 };
 }
 } // namespace simgrid::s4u