Add save, restore and restart vm

Add save, restore and restart vm