Prevent 2LSs from asking for too many vcores
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 May 2016 20:11:59 +0000 (16:11 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 4 May 2016 20:13:57 +0000 (16:13 -0400)
commit5e76ce76868ce42708ace79da67566bc9963a2c4
tree14a29c035708c924dc6b213a1e840893bb25e364
parente7f86fd2159f822852d230054aba5e637d268b88
Prevent 2LSs from asking for too many vcores

Some 2LSs just ask for more, regardless of how many the platform will take.
The kernel will ignore you, but no sense poking the beast.  Right now, the
kernel actually prints a debug message, since setting amt_wanted wrong is a
sign of a buggy program/library.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/vcore.c