Commit c142a10c authored by Leigh B Stoller's avatar Leigh B Stoller

Add a VM_VCPUS setting for containers. We are not going to do anything

with this now, but want to get it in before I push new XEN image out.
parent cc539cba
......@@ -1432,6 +1432,10 @@ sub LoadVirtNodes($)
}
$self->experiment()->SetVirtNodeAttribute($vname, "VM_MEMSIZE",
$vnode->_desires()->{"?+ram"});
# We will deal with later, but set a default=1 for now.
$self->experiment()->SetVirtNodeAttribute($vname, "VM_VCPUS", 1)
if (!$self->user()->IsAdmin());
}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment