vm0 = MSG_vm_create_core(pm0, "VM0");
params.ramsize = 1L * 1000 * 1000 * 1000; // 1Gbytes
- MSG_host_set_params(vm0, ¶ms);
+ MSG_vm_set_params(vm0, ¶ms);
MSG_vm_start(vm0);
XBT_INFO("Test: Migrate a VM with %llu Mbytes RAM", params.ramsize / 1000 / 1000);
vm0 = MSG_vm_create_core(pm0, "VM0");
params.ramsize = 1L * 1000 * 1000 * 100; // 100Mbytes
- MSG_host_set_params(vm0, ¶ms);
+ MSG_vm_set_params(vm0, ¶ms);
MSG_vm_start(vm0);
XBT_INFO("Test: Migrate a VM with %llu Mbytes RAM", params.ramsize / 1000 / 1000);
vm1 = MSG_vm_create_core(pm0, "VM1");
params.ramsize = 1L * 1000 * 1000 * 1000; // 1Gbytes
- MSG_host_set_params(vm0, ¶ms);
- MSG_host_set_params(vm1, ¶ms);
+ MSG_vm_set_params(vm0, ¶ms);
+ MSG_vm_set_params(vm1, ¶ms);
MSG_vm_start(vm0);
MSG_vm_start(vm1);
vm1 = MSG_vm_create_core(pm0, "VM1");
params.ramsize = 1L * 1000 * 1000 * 1000; // 1Gbytes
- MSG_host_set_params(vm0, ¶ms);
- MSG_host_set_params(vm1, ¶ms);
+ MSG_vm_set_params(vm0, ¶ms);
+ MSG_vm_set_params(vm1, ¶ms);
MSG_vm_start(vm0);
MSG_vm_start(vm1);