summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-05-22 21:54:21 +0000
committerkn <kn@cvs.openbsd.org>2020-05-22 21:54:21 +0000
commit9eecd49d4c5c3df4e991e1c01228de1212f5fc8b (patch)
tree1571f070fbda701a6de02767275ec6b45b18a924 /sys
parent644b7b26d886687d34677bc35af3fdcba05f7b1c (diff)
Revert previous
Total vcpu and memory are read from the PRI so constraint checks must not be done before that, noted by kettenis. The fact that "total_cpus" as a global variable (initialized with zero) is always smaller than the total number of configured vcpus and the fact that I only tested a negative example without a positive one made me jump the trigger, sorry.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions