Revert "vmm: Remove unneeded variable maxcpus"
This reverts commit 653c36179d9ee587e4d5e4668fd73d6c3d318ef8.