code: def adopt_saved_state(self, saved_state_file):
          
          if not isinstance(saved_state_file, basestring):
              raise TypeError("saved_state_file can only be an instance of type basestring")
          self._call("adoptSavedState",
                       in_p=[saved_state_file])
docs: Associates the given saved state file to the virtual machine.
          
          On success, the machine will go to the Saved state. Next time it is
          powered up, it will be restored from the adopted saved state and
          continue execution from the place where the saved state file was
          created.
          
          The specified saved state file path may be absolute or relative to the
          folder the VM normally saves the state to (usually,
          :py:func:`snapshot_folder` ).
          
          
          It's a caller's responsibility to make sure the given saved state
          file is compatible with the settings of this virtual machine that
          represent its virtual hardware (memory size, storage disk configuration
          etc.). If there is a mismatch, the behavior of the virtual machine
          is undefined.
  
          in saved_state_file of type str
              Path to the saved state file to adopt.
  
          raises :class:`VBoxErrorInvalidVmState`
              Virtual machine state neither PoweredOff nor Aborted.