X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05e72afb579aa4c5370ae70bd8473eb2d8e8a873..3ed26c1bad5a748ee8a9601b60cfd1bd3e6cc161:/src/surf/vm_hl13.cpp diff --git a/src/surf/vm_hl13.cpp b/src/surf/vm_hl13.cpp index 99b87236bc..4b93bba05f 100644 --- a/src/surf/vm_hl13.cpp +++ b/src/surf/vm_hl13.cpp @@ -238,7 +238,7 @@ void VMHL13::restore() */ void VMHL13::migrate(sg_host_t host_dest) { - Host *surfHost_dst = surf_host_resource_priv(host_dest); + Host *surfHost_dst = host_dest->extension(); const char *vm_name = getName(); const char *pm_name_src = p_hostPM->getName().c_str(); const char *pm_name_dst = surfHost_dst->getName();