X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d92bb5e90dbe8bd7eead32aba6941a4341fcf204..f8298031ff06655899a402fc0adc3fb64e8aaeb3:/src/simix/smx_vm.c diff --git a/src/simix/smx_vm.c b/src/simix/smx_vm.c index f060683b01..a2e9831b83 100644 --- a/src/simix/smx_vm.c +++ b/src/simix/smx_vm.c @@ -30,14 +30,14 @@ sg_host_t SIMIX_vm_create(const char *name, sg_host_t ind_phys_host) /* We will be able to register the VM to its physical host, so that we can promptly * retrieve the list VMs on the physical host. */ - return SIMIX_host_get_by_name(name); + return sg_host_by_name(name); } /* works for VMs and PMs */ static long host_get_ramsize(sg_host_t vm, int *overcommit) { - s_ws_params_t params; + s_vm_params_t params; surf_host_get_params(vm, ¶ms); if (overcommit)