get VM uid
# xe pool-list
set VM to auto start
# xe vm-param-set uuid=f196d26e-de3b-84f1-7d70-3fbf1119f081 other-config:auto_poweron=true
P.S. Pool must also be set to autostart