-/* 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
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));
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);
}
}