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 / surf / VirtualMachineImpl.hpp
index 8a8cc68..53f948d 100644 (file)
@@ -85,6 +85,11 @@ public:
   /* The vm object of the lower layer */
   CpuAction* action_ = nullptr;
 
+  /* Dirty pages stuff */
+  int dp_enabled                     = 0;
+  xbt_dict_t dp_objs                 = nullptr;
+  double dp_updated_by_deleted_tasks = 0;
+
 protected:
   simgrid::s4u::Host* hostPM_;
 
@@ -93,6 +98,8 @@ public:
   void setState(e_surf_vm_state_t state);
   static std::deque<VirtualMachineImpl*> allVms_;
 
+  bool isMigrating = false;
+
 private:
   s_vm_params_t params_;