X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/100b1380c49e7e88e1faf2b7314515acf4f635fd..e342f6395a0c18edfd89f6fc4540adf3c829e5e6:/src/msg/instr_msg_vm.c diff --git a/src/msg/instr_msg_vm.c b/src/msg/instr_msg_vm.c index 73581c5e83..c72cbfc5ee 100644 --- a/src/msg/instr_msg_vm.c +++ b/src/msg/instr_msg_vm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012. The SimGrid Team. +/* Copyright (c) 2012-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -46,7 +46,7 @@ void TRACE_msg_vm_change_host(msg_vm_t vm, msg_host_t old_host, msg_host_t new_h PJ_container_free(existing_container); //create new container on the new_host location - msg = PJ_container_new(instr_vm_id(vm, str, len), INSTR_MSG_VM, PJ_container_get(SIMIX_host_get_name(new_host->smx_host))); + msg = PJ_container_new(instr_vm_id(vm, str, len), INSTR_MSG_VM, PJ_container_get(SIMIX_host_get_name(new_host))); //end link msg = PJ_container_get(instr_vm_id(vm, str, len)); @@ -61,7 +61,7 @@ void TRACE_msg_vm_create (const char *vm_name, msg_host_t host) int len = INSTR_DEFAULT_STR_SIZE; char str[INSTR_DEFAULT_STR_SIZE]; - container_t host_container = PJ_container_get (SIMIX_host_get_name(host->smx_host)); + container_t host_container = PJ_container_get (SIMIX_host_get_name(host)); PJ_container_new(instr_vm_id_2(vm_name, str, len), INSTR_MSG_VM, host_container); } }