Set vm name and memory_size.