Use virDomain{Set/Get}MaxMemory to set/get the VM max memory at spec-level