External resources

From CRIU
Revision as of 11:34, 17 March 2020 by Anuj.kumar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A resource is called "external", if it can't be dumped and restored without some help from the caller. Usually this means that a part of its state is out of a dumped container.

Dump[edit]

Typically external resources are just told to be such on dump. The respective option looks like --external TYPE[ID]:VAL option, where TYPE is resource type, ID is resource ID and VAL is optional argument.

Restore[edit]

Restoring external resources heavily depends on its type. Some resources can be restored by CRIU itself with the help of --external option, some cannot. See below for further details.

Resource types[edit]

The following external resources can be checkpointed and restored:

See also[edit]