// //// CPU RELATED STUFF ////
// Roughly, create a vcpu resource by using the values of the sub_cpu one.
// //// CPU RELATED STUFF ////
// Roughly, create a vcpu resource by using the values of the sub_cpu one.
p_cpu = surf_cpu_model_vm->createCpu(host, // the machine hosting the VM
sub_cpu->getSpeedPeakList(), // host->power_peak,
p_cpu = surf_cpu_model_vm->createCpu(host, // the machine hosting the VM
sub_cpu->getSpeedPeakList(), // host->power_peak,
/* Update vcpu's action for the new pm */
{
/* create a cpu action bound to the pm model at the destination. */
/* Update vcpu's action for the new pm */
{
/* create a cpu action bound to the pm model at the destination. */