McTwist / vmctrl

Control virtual units through commands in input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save running units

McTwist opened this issue · comments

Add the ability to save the current state of one or several units.

  • save <name> [vmid/name ...] Save the current global state, or save the state of a list of units.
  • load <name> Resumes a previous saved state.

Keep in mind that these states should only be used shortly, as the service or server may restart the longer time they are kept.

Example

First saving a state(most definitely running) of a unit, stopping or pausing it, which then can be resumed later on to its previous state.

A more simplified method will be applied at first. It will either store the specified units, or all running units. When loading, all of them will start.

An another issue could be created to add the more advanced functionality.