From: Adrien Lebre Date: Wed, 13 May 2015 15:00:21 +0000 (+0200) Subject: Compilation is at least ok - Ad(rien) X-Git-Tag: v3_12~733 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4e5def63badcab36ae4c7b58645aa0a65ce4e0d0?hp=4208a17270414d83d3271639182b623963643055;ds=sidebyside Compilation is at least ok - Ad(rien) --- diff --git a/src/simix/simcalls.in b/src/simix/simcalls.in index d3986bb36e..a707338f64 100644 --- a/src/simix/simcalls.in +++ b/src/simix/simcalls.in @@ -39,7 +39,9 @@ # Please note that in addition to completing this file with your new simcall, # you should complete the libsmx.c file by adding the corresponding function # (aka. stub). Anyway, if you omit to do it, the invocation of ./simcalls.py will notify you ;) - +# Finally, if you want to remove an handler, it is important to remove although +# the corresponding code (simcall_HANDLER_name_of_simcall(xxx) (note that comment the code +# is not sufficient, the python script does not check whether the code is commented or not). Func - host_get_by_name (void*, smx_host_t) (name, const char*) Func - host_get_name (const char*) (host, void*, smx_host_t) diff --git a/src/simix/smx_vm.c b/src/simix/smx_vm.c index baf05c268b..213c1651f5 100644 --- a/src/simix/smx_vm.c +++ b/src/simix/smx_vm.c @@ -138,7 +138,8 @@ void SIMIX_vm_migratefrom_resumeto(smx_host_t vm, smx_host_t src_pm, smx_host_t SIMIX_vm_migrate(vm, dst_pm); /* Resume the VM */ - SIMIX_vm_resume(vm); + smx_process_t self = SIMIX_process_self(); + SIMIX_vm_resume(vm, self->simcall.issuer); } /**