Adding support to set `cpus` and `memory` for vm. #101