Difference between revisions of "External resources"

From CRIU
Jump to navigation Jump to search
(formatting)
Line 3: Line 3:
 
== Dumping ==
 
== Dumping ==
  
Typically external resources are just told to be such on dump. The respective option looks like <code>--external TYPE[ID]{:VAL}</code> option, where TYPE is resource type, ID is resource ID and :VAL is optional argument.
+
Typically external resources are just told to be such on dump. The respective option looks like <code>--external ''TYPE''[''ID'']:''VAL''</code> option, where <code>''TYPE''</code> is resource type, <code>''ID''</code> is resource ID and <code>''VAL''</code> is optional argument.
  
 
== Restore ==
 
== Restore ==

Revision as of 02:24, 1 October 2016

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

Dumping

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

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.

External resources

See also