Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert vm_suspend from SMX to S4U
[simgrid.git] / src / plugins / vm / VirtualMachineImpl.hpp
index 6f33984..bc446c9 100644 (file)
@@ -63,15 +63,15 @@ public:
   ~VirtualMachineImpl();
 
   /** @brief Suspend the VM */
-  virtual void suspend();
+  virtual void suspend(smx_actor_t issuer);
 
   /** @brief Resume the VM */
   virtual void resume();
 
-  /** @brief Save the VM (Not yet implemented) */
-  virtual void save();
+  /** @brief Save the VM */
+  virtual void save(smx_actor_t issuer);
 
-  /** @brief Restore the VM (Not yet implemented) */
+  /** @brief Restore the VM */
   virtual void restore();
 
   /** @brief Migrate the VM to the destination host */
@@ -129,4 +129,6 @@ public:
 }
 }
 
+XBT_PUBLIC_DATA(simgrid::vm::VMModel*) surf_vm_model;
+
 #endif /* VM_INTERFACE_HPP_ */