def revertSnapshot(self, vmx, snapshot):
        sys.stdout.write("[%s] Reverting snapshot %s.\n" % (vmx, snapshot))
        self._run_cmd(vmx, "revertToSnapshot", [snapshot])