vm.snapshot() returns the ref of the new snapshot.