X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19df82877ce519ee7ce4b9daee206ad6939f4710..128ea0e762c5eb7cd5c5a4be1cb7f745592be979:/src/surf/VirtualMachineImpl.hpp diff --git a/src/surf/VirtualMachineImpl.hpp b/src/surf/VirtualMachineImpl.hpp index 8a8cc68461..53f948d22a 100644 --- a/src/surf/VirtualMachineImpl.hpp +++ b/src/surf/VirtualMachineImpl.hpp @@ -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 allVms_; + bool isMigrating = false; + private: s_vm_params_t params_;