send type when creating vm