pub(crate) fn snapshot_vm(cmd: SnapshotCommand) -> Result<(), ()>