/* In the real world, processes on the guest operating system will be somewhat
* degraded due to virtualization overhead. The total CPU share that these
* processes get is smaller than that of the VM process gets on a host
/* In the real world, processes on the guest operating system will be somewhat
* degraded due to virtualization overhead. The total CPU share that these
* processes get is smaller than that of the VM process gets on a host
XBT_DEBUG("assign %f to vm %s @ pm %s", solved_value,
ws_vm->getName(), ws_vm->p_hostPM->name().c_str());
XBT_DEBUG("assign %f to vm %s @ pm %s", solved_value,
ws_vm->getName(), ws_vm->p_hostPM->name().c_str());
/* We create cpu_action corresponding to a VM process on the host operating system. */
/* FIXME: TODO: we have to periodically input GUESTOS_NOISE to the system? how ? */
/* We create cpu_action corresponding to a VM process on the host operating system. */
/* FIXME: TODO: we have to periodically input GUESTOS_NOISE to the system? how ? */
XBT_INFO("Create VM(%s)@PM(%s) with %ld mounted disks",
name, p_hostPM->name().c_str(), xbt_dynar_length(p_storage));
XBT_INFO("Create VM(%s)@PM(%s) with %ld mounted disks",
name, p_hostPM->name().c_str(), xbt_dynar_length(p_storage));
/* 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. */