#include "msg_private.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
-#include "simgrid/platf.h"
#include "simgrid/host.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_vm, msg,
/** @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->set_parameters(¶ms);
+ vm->setParameters(¶ms);
return vm;
}
struct migration_session *ms = (migration_session *) MSG_process_get_data(MSG_process_self());
s_vm_params_t params;
- ms->vm->get_parameters(¶ms);
+ ms->vm->parameters(¶ms);
int need_exit = 0;
(migration_session *) MSG_process_get_data(MSG_process_self());
s_vm_params_t params;
- ms->vm->get_parameters(¶ms);
+ ms->vm->parameters(¶ms);
const sg_size_t ramsize = params.ramsize;
const sg_size_t devsize = params.devsize;
const int skip_stage1 = params.skip_stage1;