xbt_dynar_push(vms, &vm);
XBT_INFO("put a process (%s) on %s", pr_name, vm_name);
xbt_dynar_push(vms, &vm);
XBT_INFO("put a process (%s) on %s", pr_name, vm_name);
- MSG_process_create(pr_name, worker_fun, NULL, vm);
+ MSG_process_create(pr_name, worker_fun, NULL, (msg_host_t)vm);
XBT_INFO("# Suspend all VMs");
xbt_dynar_foreach(vms, i, vm) {
XBT_INFO("# Suspend all VMs");
xbt_dynar_foreach(vms, i, vm) {
char *pr_name = bprintf("WRK%02d", index);
XBT_INFO("put a process (%s) on %s", pr_name, vm_name);
char *pr_name = bprintf("WRK%02d", index);
XBT_INFO("put a process (%s) on %s", pr_name, vm_name);
- MSG_process_create(pr_name, worker_fun, NULL, vm);
+ MSG_process_create(pr_name, worker_fun, NULL, (msg_host_t)vm);
XBT_INFO("# Shutdown and destroy all the VMs. The remaining worker processes will be forcibly killed.");
xbt_dynar_foreach(vms, i, vm) {
XBT_INFO("# Shutdown and destroy all the VMs. The remaining worker processes will be forcibly killed.");
xbt_dynar_foreach(vms, i, vm) {