X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a6c8108ddea55a6c199759bac3bd4f8ca4daf2c..08761e536685c785fa8aae06a819f36fc9d62c80:/src/surf/VirtualMachineImpl.hpp diff --git a/src/surf/VirtualMachineImpl.hpp b/src/surf/VirtualMachineImpl.hpp index 99faa0b7f2..ec006462cd 100644 --- a/src/surf/VirtualMachineImpl.hpp +++ b/src/surf/VirtualMachineImpl.hpp @@ -72,10 +72,10 @@ public: virtual void restore(); /** @brief Migrate the VM to the destination host */ - virtual void migrate(sg_host_t dest_PM); + virtual void migrate(s4u::Host* dest); /** @brief Get the physical machine hosting the VM */ - sg_host_t getPm(); + s4u::Host* getPm(); virtual void setBound(double bound); @@ -109,7 +109,7 @@ public: * @param name The name of the new VM * @param host_PM The real machine hosting the VM */ - s4u::Host* createVM(const char* name, sg_host_t host_PM); + s4u::Host* createVM(const char* name, s4u::Host* host_PM); void adjustWeightOfDummyCpuActions() override{}; double nextOccuringEvent(double now) override;