X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d92bb5e90dbe8bd7eead32aba6941a4341fcf204..b3b356352e87ae00a20f737c48e19b0c8413455a:/src/simix/smx_vm.c diff --git a/src/simix/smx_vm.c b/src/simix/smx_vm.c index f060683b01..401565cd59 100644 --- a/src/simix/smx_vm.c +++ b/src/simix/smx_vm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2014. The SimGrid Team. +/* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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)