X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d178a3628f564e51b90b0da540a0e5c56e559db2..c1c1e55a043d3cb03aa731754b30c18b3151da91:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 6e745b1eae..06c52c9cb8 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -321,10 +321,22 @@ int simcall_vm_get_state(smx_host_t vm) * \param vm VM * \return The name of the physical host */ -const char *simcall_vm_get_phys_host(smx_host_t vm) +void *simcall_vm_get_pm(smx_host_t vm) { /* will jump to SIMIX_pre_vm_migrate in src/simix/smx_smurf_private.h */ - return simcall_BODY_vm_get_phys_host(vm); + return simcall_BODY_vm_get_pm(vm); +} + +void simcall_host_get_params(smx_host_t vm, ws_params_t params) +{ + /* will jump to SIMIX_pre_host_get_params in src/simix/smx_smurf_private.h */ + simcall_BODY_host_get_params(vm, params); +} + +void simcall_host_set_params(smx_host_t vm, ws_params_t params) +{ + /* will jump to SIMIX_pre_host_set_params in src/simix/smx_smurf_private.h */ + simcall_BODY_host_set_params(vm, params); } /** @@ -1300,6 +1312,12 @@ int simcall_mc_compare_snapshots(void *s1, void *s2){ return simcall_BODY_mc_compare_snapshots(s1, s2); } +int simcall_mc_random(void) +{ + return simcall_BODY_mc_random(); +} + + #endif /* HAVE_MC */ /* ****************************************************************************************** */