xbt_dict_t MSG_vm_get_properties(msg_vm_t vm)
{
xbt_assert((vm != NULL), "Invalid parameters (vm is NULL)");
- return vm->getProperties();
+ return vm->properties();
}
/** \ingroup m_host_management
/** @brief Create a new VM with specified parameters.
* @ingroup msg_VMs*
* @param pm Physical machine that will host the VM
+ * @param name [TODO]
+ * @param ncpus [TODO]
+ * @param ramsize [TODO]
* @param net_cap Maximal bandwidth that the VM can consume (in MByte/s)
* @param disk_path (unused) Path to the image that boots
* @param disksize (unused) will represent the size of the VM (will be used during migrations)
params.mig_speed = (double)mig_netspeed * 1024 * 1024; // mig_speed
//XBT_INFO("dp rate %f migspeed : %f intensity mem : %d, updatespeed %f, hostspeed %f",params.dp_rate, params.mig_speed, dp_intensity, update_speed, host_speed);
- vm->setParams(¶ms);
+ vm->set_parameters(¶ms);
return vm;
}
struct migration_session *ms = (migration_session *) MSG_process_get_data(MSG_process_self());
s_vm_params_t params;
- ms->vm->getParams(¶ms);
+ ms->vm->get_parameters(¶ms);
int need_exit = 0;
(migration_session *) MSG_process_get_data(MSG_process_self());
s_vm_params_t params;
- ms->vm->getParams(¶ms);
+ ms->vm->get_parameters(¶ms);
const sg_size_t ramsize = params.ramsize;
const sg_size_t devsize = params.devsize;
const int skip_stage1 = params.skip_stage1;